14.08.2010, 11:41
Yes, it should be something like:
Код:
new CarLocked[MAX_VEHICLES]; if (/carlock) CarLocked[GetPlayerVehicleID(playerid)]=playerid; if (/unlock && CarLocked[vehicleid]==playerid) CarLocked[vehicleid]=-1; OnVehicleStreamIn(){ if (CarLocked[vehicleid]!=-1) SetVehicleParams( locked ); }