Float help (First attempt)
#6

use this , tested and working :

Код:
if (strcmp("/orly", cmdtext, true, 10) == 0)
	{
	new string[256];
	new Float:HP;
	new Float:AP;
	GetPlayerHealth(playerid, HP);
	GetPlayerArmour(playerid, AP);
	format(string, sizeof(string), "Health: %f Armour: %f", HP, AP);
	SendClientMessage(playerid,0x33AAFFFF,string);
	return 1;
	}
Reply


Messages In This Thread
Float help (First attempt) - by -Rebel Son- - 27.04.2010, 06:05
Re: Float help (First attempt) - by ettans - 27.04.2010, 06:23
Re: Float help (First attempt) - by -Rebel Son- - 27.04.2010, 06:27
Re: Float help (First attempt) - by cessil - 27.04.2010, 10:20
Re: Float help (First attempt) - by Calgon - 27.04.2010, 10:31
Re: Float help (First attempt) - by aircombat - 27.04.2010, 13:53
Re: Float help (First attempt) - by Hiddos - 27.04.2010, 14:05
Re: Float help (First attempt) - by Correlli - 27.04.2010, 14:11
Re: Float help (First attempt) - by -Rebel Son- - 27.04.2010, 16:49

Forum Jump:


Users browsing this thread: 1 Guest(s)