28.10.2013, 15:38
So,i have a problem at some cars...When i enter into a public vehicle (If is a job,or is a faction) and i don't have the keys for that car,in my chatbox will appear "You don't have the keys for this vehicle",for 100 times...
For an example:
When i enter in a harvest car,it will appear "** Farmer ** /startharvest, /stopharvest or /exit" for a lot of times...
Yeah,i know that i'm not verry good at english,but i hope that you get the point.
Can someone help me?Please
For an example:
Код:
if(IsAHarvest(newcar)) { if(PlayerInfo[playerid][pJob] == 18) { if(FarmerVar[playerid] == 0) { SendClientMessage(playerid, COLOR_RED, "___________Farmer guide___________"); SendClientMessage(playerid, COLOR_WHITE, "** Farmer ** /startharvest, /stopharvest or /exit"); SendClientMessage(playerid, COLOR_RED, "__________________________________"); TogglePlayerControllable(playerid, 0); } else { } } else { SendClientMessage(playerid, COLOR_GREY, " You don't have keys of this vehicle !"); RemovePlayerFromVehicle(playerid); } }
Yeah,i know that i'm not verry good at english,but i hope that you get the point.
Can someone help me?Please
