Help with OnVehicleStreamIn
#5

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 );
}
Reply


Messages In This Thread
Help with OnVehicleStreamIn - by Mystique - 14.08.2010, 11:04
Re: Help with OnVehicleStreamIn - by [HUN]Jaki - 14.08.2010, 11:35
Re: Help with OnVehicleStreamIn - by ikey07 - 14.08.2010, 11:36
Re: Help with OnVehicleStreamIn - by Mystique - 14.08.2010, 11:38
Re: Help with OnVehicleStreamIn - by [HUN]Jaki - 14.08.2010, 11:41

Forum Jump:


Users browsing this thread: 1 Guest(s)