Sorry you are having trouble, i had to fix this stuff up in a hurry at a library.
But thank you for your report, ill get to the bottom of this and I'll let you know once its fixed or if i need extra information.
Edit: I found out it's because some of the functions don't take $gamePlayer as an argument in either the plugin command or script call although that's what your instructions say to do. It will work if you change $gamePlayer to 0.
Here is the console log for the error.