[unawnsered]Checkpoint Help
#1

Heys!

Well I have a small problem. I have (atm) 2 checkpoints on my server. I know that I can't have both active at the same time; but that is not what I want.

If I define the two checkpoints (i.e. cp1 = SetPlayerCheckpoints(blah,blah,blah)) can I actually do

pawn Код:
if (IsPlayerInCheckpoint(playerid)==cp1)
   {
     //do something here
   }

if (IsPlayerInCheckpoint(playerid)==cp2)
   {
     //do something DIFFERENT here
   }
IMPORTANT: I have both checkpoints activated by PlayerToPoint!

If I can't do it like this, how can I have a different effect for each checkpoint?

Thanks In Advance!
************
EDIT: I read this before but when I did it the same thing happened in cp2 as cp1

link: http://forum.sa-mp.com/index.php?top...8975#msg618975
Reply


Messages In This Thread
[unawnsered]Checkpoint Help - by burgershot - 02.07.2009, 19:26
Re: Checkpoint Help - by arnutisz - 02.07.2009, 20:01
Re: Checkpoint Help - by 6tynine - 02.07.2009, 20:10
Re: Checkpoint Help - by burgershot - 02.07.2009, 20:46
Re: [unawnsered]Checkpoint Help - by burgershot - 02.07.2009, 20:58
Re: [unawnsered]Checkpoint Help - by Yuryfury - 02.07.2009, 22:52
Re: [unawnsered]Checkpoint Help - by ledzep - 03.07.2009, 00:39

Forum Jump:


Users browsing this thread: 1 Guest(s)