Engine restriction
#3

This should be the faction condition. Faction members should be able to start the engine with no problem, without that condition which is for personal cars that you can give dupe keys.
Код:
if(Vehicles[GetPlayerVehicleID(playerid)][carteam] != PlayerInfo[playerid][playerteam]) return SendClientError(playerid, "You can't drive this vehicle");
Reply


Messages In This Thread
Engine restriction - by xdarren - 18.06.2014, 17:40
Re: Engine restriction - by Abagail - 18.06.2014, 18:36
Re: Engine restriction - by xdarren - 18.06.2014, 19:42

Forum Jump:


Users browsing this thread: 1 Guest(s)