25.05.2013, 23:25
If you're using a streamer:
(1 stays for checkpoint number, if you dont have any other checkpoints, this will be the first)
OnPlayerEnterDynamicCP:
On the command remove:
And add:
Don't use default streamed checkpoint if you're willing to add multiple checkpoints in your gamemode.
pawn Код:
new CPs[1];
#define JanitorCp 1
OnPlayerEnterDynamicCP:
pawn Код:
if(checkpointid == CPs[JanitorCp])
{
//Do your things
}
pawn Код:
SetPlayerCheckpoint(playerid,451.3937,231.4031,880.5094,10.0);
pawn Код:
CPs[JanitorCp] = CreateDynamicCP(451.3937,231.4031,880.5094,10.0);