17.03.2010, 21:19
hey guys .I have a cmd that shows you a checkpoint.
problem: The checkpoint should only shows when you did the cmd at the right positions. I tought I scripted that in fine.
it seems that I didn't.The checkpoint shows up everywhere. Please help
problem: The checkpoint should only shows when you did the cmd at the right positions. I tought I scripted that in fine.
it seems that I didn't.The checkpoint shows up everywhere. Please help
Код:
if(strcmp(cmd, "/drugsmission", true) == 0) {
if(IsPlayerInRangeOfPoint(playerid, 7.0, -572.7808,-1498.3749,9.5741)) return SendClientMessage(playerid, red, "You are not at the drugs farm");
{
SetPlayerRaceCheckpoint(playerid,0,1541.0101,-1675.0453,13.5517,-2007.3123,-73.4380,34.8973,4.0);
GameTextForPlayer(playerid," ~y~ Pick up the drugs.",4000,4);
gPlayerDrivingCheckpoints[playerid] = DRUGS_CHECKPOINT;
}
return 1;
}

