25.12.2010, 00:06
Hey I scripted gps script but I can't see what I did wrong
when i go inside the check point it does not remove it stays...
pawn Код:
if(strcmp(cmd, "/isls", true) == 0)
{
SetPlayerCheckpoint(playerid, 1184.7054,-3702.7004,5.5726, 10.00);
}
if(strcmp(cmd, "/isle", true) == 0)
{
SetPlayerCheckpoint(playerid, 3708.5895,-1507.7553,8.3544, 10.00);
}
if(strcmp(cmd, "/islw", true) == 0)
{
SetPlayerCheckpoint(playerid, -3524.7919,1341.0784,4.1947, 10.00);
}
if(strcmp(cmd, "/isln", true) == 0)
{
SetPlayerCheckpoint(playerid, 382.2226,3591.6541,5.1390, 10.00);
}
if(strcmp(cmd, "/carls", true) == 0)
{
SetPlayerCheckpoint(playerid, 2719.5486,-2644.2388,23.6925, 10.00);
}
if (IsPlayerInCheckpoint(playerid))
{
DisablePlayerCheckpoint(playerid);
}