help do a background check
#3

Quote:

new Float:health;
new veh;
veh = GetPlayerVehicleID(playerid);
GetVehicleHealth(veh, health);
if(health < 1000)
{
SendClientMessage(playerid,COLOR_WHITE,"Your vehicle is damaged!")
}
else
{
SendClientMessage(playerid,COLOR_WHITE,"Your vehicle is not damaged!");
}

Normally when you hit something you lose veh hp & visual damage.
I don't think there's another way.
Reply


Messages In This Thread
help do a background check - by Sergey68 - 02.06.2011, 13:57
Re: help do a background check - by Sergey68 - 02.06.2011, 15:42
Re: help do a background check - by Jack Shred - 02.06.2011, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)