24.01.2017, 23:21
Код:
CMD:ang(playerid, params[]) { if(GetPlayerMoney(playerid) > 500) { new str[144]; if(sscanf(params, "s[100]", str)) return SendClientMessage(playerid, Azul, "Use /ang: [TEXTO]"); new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(str, sizeof(str), "%s Anunciou: {238E68}%s", playername, str); SendClientMessageToAll(Verde, str); GivePlayerMoney(playerid, -500); return 1; } else { SendClientMessage(playerid, Laranja, "Vocк nгo tem dinheiro й necessario [$500]"); } return 1; }