08.12.2012, 17:37
Quote:
if(strcmp(cmdtext, "/Colete", true) == 0) { SetPlayerHealth(playerid, 100.0); new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, MAX_PLAYER_NAME); format(string, sizeof(string), "%s comprou {FF00FF}vida {FF0000}( /health )", pname); SendClientMessageToAll(0xFFFFAE96, string); GivePlayerMoney(playerid, -100); return 1; |