20.08.2015, 12:39
I think he want to know how to: @ make a car door to be locked for players , but unlocked for admins level 4
That's what i understand.
There we go buddy -> https://sampwiki.blast.hk/wiki/Function:...aramsForPlayer
Wiki exemple.
That's what i understand.
There we go buddy -> https://sampwiki.blast.hk/wiki/Function:...aramsForPlayer
Quote:
// sometime earlier: SetVehicleParamsForPlayer(iPlayerVehicle, iPlayerID, 1, 0); // sometime later when you want the vehicle to respawn: new iEngine, iLights, iAlarm, iDoors, iBonnet, iBoot, iObjective; GetVehicleParamsEx(iPlayerVehicle, iEngine, iLights, iAlarm, iDoors, iBonnet, iBoot, iObjective); SetVehicleParamsEx(iPlayerVehicle, iEngine, iLights, iAlarm, iDoors, iBonnet, iBoot, 0); |