Quote:
Originally Posted by CueЯvo
pawn Код:
if(strcmp(cmdtxt, "/givelicense", true) == 0) { new Float:health; // We determine that the health is a Float, so we create it new string[64]; // 128 is too big for this, downed to 64 GetPlayerHealth(playerid, health); // Its not the same as GetPlayerName, check the wiki for more info. format(string, sizeof(health),"Your HP is at %.1f percent!",health); // we format it SendClientMessage(RED,string); // we send the message return 1; // we close the command }
|
LOL thats /givelicense command xD