02.01.2013, 19:47
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vid) == 481 || GetVehicleModel(vid) == 509 || GetVehicleModel(vid) == 510)
{
new vid = GetPlayerVehicleID(playerid);
SetVehicleParamsEx(vid, 1, lights, alarm, doors, bonnet, boot, objective);
}
return 1;
}