Checkpoint Help
#4

hmm i dunno if theres an easier idea but mine is pretty advanced
pawn Code:
//Ontopofscript
new checkpoint;

//sumwhere
public OnPlayerEnterRaceCheckpoint(playerid)
{
if(checkpoint == 0)
{
DisablePlayerCheckpoint(playerid);
SetPlayerRaceCheckpoint(playerid,urnext checkpoint blah);
checkpoint = 1;
}
else
if(ckeckpoint == 1)
{
DisablePlayerCheckpoint(playerid);
SetPlayerRaceCheckpoint(playerid,urnext checkpoint blah);
checkpoint = 2;
}
else
if(checkpoint == 2)
{
DisablePlayerCheckpoint(playerid);
endrace;//you would need to make that function first
checkpoint = 0;
}
return 1;
}
Reply


Messages In This Thread
Checkpoint Help - by Quead - 24.07.2009, 19:32
Re: Checkpoint Help - by saiberfun - 24.07.2009, 20:31
Re: Checkpoint Help - by Quead - 24.07.2009, 21:31
Re: Checkpoint Help - by saiberfun - 24.07.2009, 23:05
Re: Checkpoint Help - by Quead - 25.07.2009, 00:48

Forum Jump:


Users browsing this thread: 2 Guest(s)