25.12.2018, 01:23
Quote:
If I use this, will the command still work even if the Enforcer is not close to you? (but is still the nearest vehicle)
|
Код:
CMD:swat(playerid, params[]) { if(GetVehicleModel(GetNearestVehicleToPlayer(playerid)) != Enforcer_Vehicle_Model) return SendClientMessage(playerid, -1, "you are not close to enforcer") //your code if player is near the enforcer return 1; }