02.07.2009, 19:26
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
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
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
}
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