Checkpoint Streamers
#5

Use CMAdd and under OnPlayerEnterCheckPoint, add this code.
pawn Код:
new id=CMGetCheckID(playerid);
Then you can check if the id's equal whatever returned by CMAdd. So like this.

pawn Код:
//At the top
new CP;

//OnGameModeInit or wherever
CP = CMAdd(/* the stuff in here */);

//OnPlayerEnterCheckpoint
new id=CMGetCheckID(playerid);

if(id == CP)
{
   //Do your thing here.
}
Reply


Messages In This Thread
Checkpoint Streamers - by Salmon - 22.02.2009, 00:42
Re: Checkpoint Streamers - by Backwardsman97 - 22.02.2009, 01:19
Re: Checkpoint Streamers - by Salmon - 22.02.2009, 01:24
Re: Checkpoint Streamers - by StrickenKid - 22.02.2009, 02:03
Re: Checkpoint Streamers - by Backwardsman97 - 22.02.2009, 04:30

Forum Jump:


Users browsing this thread: 3 Guest(s)