public OnVehicleDamageStatusUpdate(vehicleid,playerid){SendClientMessage(playerid,COLOR_RED,\"Ütköztél!\");return 1;}
public OnVehicleDamageStatusUpdate(vehicleid,playerid){ new Float:health; new veh; veh = GetPlayerVehicleID(playerid); GetVehicleHealth(veh, health); if(health <= 0 || health <= 999) { SendClientMessage(playerid,RED,\"Ütköztél, gyorsan írj be valamit! ((/me))\"); }}
Esetleg így : public OnVehicleDamageStatusUpdate(vehicleid,playerid){ new Float:health; new veh; veh = GetPlayerVehicleID(playerid); GetVehicleHealth(veh, health); if(health <= 0 || health <= 999) { SendClientMessage(playerid,RED,\"Ütköztél, gyorsan írj be valamit! ((/me))\"); }}
if(health !=1000)
if(health <= 0 || health <= 999)