23.10.2015, 19:45
I Have A Job FilterScript That Set A Checkpoint And Player Gets Money On Entering It , But A player Tried Setting Anohter Checkpoint Near Job And Earned Money There ... I Want To Make It Like The Player Cant Set Another Checkpoint Until He Disables The First (Or If He Exits The Vehicle He's Working In) ... So Please Fix My Command Below Please Please Please Or Just Tell Me How To Do THis ... I Have Tried Everything I CAnt Work This One Out ..
COMMAND:gunshop(playerid, cmdtext)
{
If(GetPlayerCheckpoint(playerid)
SetPlayerCheckpoint(playerid, -2134.4019,-43.0432,35.3203,5.0);
DestroyVehicle(413);
}
return 1;
}
COMMAND:gunshop(playerid, cmdtext)
{
If(GetPlayerCheckpoint(playerid)
SetPlayerCheckpoint(playerid, -2134.4019,-43.0432,35.3203,5.0);
DestroyVehicle(413);
}
return 1;
}