11.07.2011, 03:22
PHP код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,0,lights,alarm,doors,bonnet,boot,objective);
SendClientMessage(playerid, 0xFF0000FF, "Your vehicle was turned off because you hit something.");
return 1;
}