Vehicle health
#7

Quote:
Originally Posted by martynas
Посмотреть сообщение
i need a code
/dl is an integrated command like: /q = quit game etc.

if you need an working one go with zcmd and do like this:

pawn Код:
command(vhealth,playerid,params[])
{
     if(!IsPlayerInAnyVehicle(playerid)) return SendCientMessage( somme params..);
     new vehicleid = GetPlayerVehicleID(playerid);
     new string[20], Float:vHealth;
     GetVehicleHealth(vehicleid, vHealth);
     format(string, 20, "Vehicle health: %d", vHealth);
     SendClientMessage(playerid, COLOR, sting);
     return 1;
}
not tested though.
Reply


Messages In This Thread
Vehicle health - by martynas - 29.09.2010, 16:36
Re: Vehicle health - by rbN. - 29.09.2010, 16:41
Re: Vehicle health - by willsuckformoney - 29.09.2010, 16:41
Re: Vehicle health - by martynas - 29.09.2010, 16:46
Re: Vehicle health - by Cameltoe - 29.09.2010, 16:48
Re: Vehicle health - by martynas - 29.09.2010, 16:48
Re: Vehicle health - by Cameltoe - 29.09.2010, 16:53
Re: Vehicle health - by [XST]O_x - 29.09.2010, 16:55
Re: Vehicle health - by royal_king - 29.09.2010, 16:58
Re: Vehicle health - by martynas - 29.09.2010, 16:59

Forum Jump:


Users browsing this thread: 2 Guest(s)