Vehiclehealth
#1

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new string[100];
    new Float:health;
    new Carhp = GetVehicleHealth(vehicleid,health);
    format(string,sizeof(string), "You entering a vehicle with HP: %d.",Carhp);
    SendClientMessage(playerid,BLUE,string);

    return 1;
}
It's only show: You entering a vehicle with HP: 1.
How to make like it shows 1000.0 or something?
Reply


Messages In This Thread
Vehiclehealth - by Goobiiify - 30.11.2009, 22:37
Re: Vehiclehealth - by RaFsTar - 30.11.2009, 22:39
Re: Vehiclehealth - by Goobiiify - 30.11.2009, 22:40
Re: Vehiclehealth - by thegoliathmaster - 01.12.2009, 00:13

Forum Jump:


Users browsing this thread: 1 Guest(s)