06.12.2007, 20:55
I got a problem... When I get near a checkpoint, it shows but... whenever the checkpoint spawns, I see the message which was supposed to appear when the player was IN the checkpoint...
My code:
My code:
pawn Code:
public CPCHECKER()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(CPS_IsPlayerInCheckpoint(i, test1))
{
SendClientMessage(i, COLOR_BLUE, "TEST1");
}
else if(CPS_IsPlayerInCheckpoint(i, test2))
{
SendClientMessage(i, COLOR_BLUE, "TEST2");
}
}
}
}

