27.04.2010, 13:53
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; }