01.03.2009, 19:38
remove new ACP;
and ACP =
and the other ACP
You can't have more than one checkpoint unless your using a checkpoint streamer
and ACP =
and the other ACP
You can't have more than one checkpoint unless your using a checkpoint streamer
pawn Код:
if (strcmp("/airport", cmdtext, true) == 0)
{
if(IsPlayerInCheckpoint(playerid))
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Teleported.");
}
else if(!IsPlayerInCheckpoint(playerid))
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "You are not in the checkpoint");
}
return 1;
}