21.02.2010, 12:58
Top of script
In your /lock command
and the callback
pawn Код:
new VehicleLock[MAX_VEHICLES];
pawn Код:
VehicleLock[GetPlayerVehicleID(playerid)] = 1;
pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
if(VehicleLock[vehicleid] == 1)
{
SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 1);
}
return 1;
}