Strange health...
#1

Код:
if (!strcmp("/carhp", cmdtext, true))
	{
	new Float:health;
	new carhp;
	carhp = GetPlayerVehicleID(playerid);
	GetVehicleHealth(carhp, health);
	new hp[128];
	format(hp, sizeof(hp), "%d HP",health);
	SendClientMessage(playerid, COLOR_WHITE, hp);
	print(hp);
	return 1;
	}
I have new vehicle and /carhp shows me - 1148846080 HP

how to fix?
Reply


Messages In This Thread
Strange health... - by Dreftas - 08.02.2009, 17:27
Re: Strange health... - by Sandra18[NL] - 08.02.2009, 17:38
Re: Strange health... - by Dreftas - 08.02.2009, 17:38
Re: Strange health... - by ICECOLDKILLAK8 - 08.02.2009, 17:43
Re: Strange health... - by Nero_3D - 08.02.2009, 17:44
Re: Strange health... - by Sandra18[NL] - 08.02.2009, 17:45
Re: Strange health... - by Dreftas - 08.02.2009, 17:54

Forum Jump:


Users browsing this thread: 2 Guest(s)