Script error !

Posted by YoyoRocklo
Hi , Sorry for my english, I'm french. I created a game with Game maker and GMS but when I started the game I had this error in the compile:

Variable obj_Player3.player_id(100014, -2147483648) not set before reading it.
at gml_Script_gms_step (line 612) - room_id = gms_other_get_real(player_id, "room");
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_gms_step (line 612)
called from - gml_Object_GMS_StepNormalEvent_1 (line 1) - gms_step()

I do not know how to solve , Help me pls ...

Replies (1)

Last message on 16 Apr 2017

Size43 (Administrator) on 16 Apr 2017, 16:33:58
Hey,

It looks like you're placing "other player objects" in the room. You only need to create a player object, the extension will create "other player objects" as needed.