24.08.2013, 01:50
pawn Код:
if(GetPlayerVehicleID(playerid) && GetPlayer[vehicleid][owner] == 1)
{
new vehicleid, engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid,engine, lights, alarm, 0, bonnet, boot, objective);
}
return 1;
pawn Код:
if(getplayervehicle(playerid) && if(GetPlayer[vehicleid][owner] == 1 )