12.10.2017, 11:35
Okay. CTRL + Z back everything.
Make Checkpoint as a normal variable, also name it something else just in case. Lets name it to
Under
change this code:
to this:
Under
change this code:
to this:
Make Checkpoint as a normal variable, also name it something else just in case. Lets name it to
Код:
new SomethingCP;
Код:
public OnGameModeInit()
Код:
Checkpoint[1]CreateDynamicCP(541,642.5018,1601.4012,327, 2, -1, -1, -1, 100)
Код:
SomethingCP=CreateDynamicCP(541,642.5018,1601.4012,327, 2, -1, -1, -1, 100);
Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
Код:
if(checkpointid == Checkpoint[0])
Код:
if(checkpointid == SomethingCP)