Vehicle health
#8

pawn Код:
if(strcmp(cmdtext,"/myvehhealth",true) == 0)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        new Float:h,string[50];
        GetVehicleHealth(GetPlayerVehicleID(playerid),h);
        format(string,sizeof(string),"Your vehicle's health is %f.",floatround(h));
        SendClientMessage(playerid,color,string);
    }
    return 1;
}
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: 5 Guest(s)