10.01.2013, 21:39
Does the server have a '/v lock' command?
If so, then change these!
If so, then change these!
Код:
public LockCar(carid) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { SetVehicleParamsForAll(carid,i,1,1); } } } public UnLockCar(carid) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(!IsAPlane(carid)) { SetVehicleParamsForAll(carid,i,0,0); } } } }