(FIXED)I am getting error with "argument0"

Posted by NickPerson
I am using Game Maker 8.0 and I am using the "GameMaker Server+(All)" extension, and I followed all the instructions, yet I keep getting this error:

"COMPILATION ERROR in extension package GameMaker Server+(All)
Error in code at line 3:
if(XServer_action_get_argument_isreal(argument0))
^
at position 49: Wrong number of arguments to function or script."

Can I get an explanation of what might be wrong?

ok so i had the wrong extension.
i had to use the GM 8/8.1 one, but i had to edit a line of code from "gms_init(GMS)" to "gms_init=GMS"

Replies (1)

Last message on 9 Aug 2021

Size43 (Administrator) on 9 Aug 2021, 14:50:12
As you noticed already, you'll have to use the GM8/8.1 version of the extension if you're using Game Maker 8.0.

The gms_init call is not needed for the GM8/8.1 version. You can remove the line "gms_init=GMS" as well.