Checkpoint problem.
#3

If you're using a streamer:

pawn Код:
new CPs[1];
#define JanitorCp 1
(1 stays for checkpoint number, if you dont have any other checkpoints, this will be the first)

OnPlayerEnterDynamicCP:

pawn Код:
if(checkpointid == CPs[JanitorCp])
{
//Do your things
}
On the command remove:

pawn Код:
SetPlayerCheckpoint(playerid,451.3937,231.4031,880.5094,10.0);
And add:

pawn Код:
CPs[JanitorCp] = CreateDynamicCP(451.3937,231.4031,880.5094,10.0);
Don't use default streamed checkpoint if you're willing to add multiple checkpoints in your gamemode.
Reply


Messages In This Thread
Checkpoint problem. - by lQs - 25.05.2013, 22:47
Re: Checkpoint problem. - by jakejohnsonusa - 25.05.2013, 23:20
Re: Checkpoint problem. - by Face9000 - 25.05.2013, 23:25
Re: Checkpoint problem. - by lQs - 26.05.2013, 10:08
Re: Checkpoint problem. - by ReVo_ - 26.05.2013, 10:33
Re: Checkpoint problem. - by Vince - 26.05.2013, 10:43
Re: Checkpoint problem. - by lQs - 26.05.2013, 10:55

Forum Jump:


Users browsing this thread: 1 Guest(s)