Quote:
Originally Posted by DannielCooper
Eu ia ajudar mais, sу que jб tinha gente ajudando u-u.
pawn Код:
if(strcmp(cmd,"/dartaxa",true)==0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pLider] != 7) { SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й o Prefeito !"); return true; } if(ContarJogadores >= 15) { if(IsPlayerConnected(i)) { new price = Tax / Cops; for(new i = 0; i < MAX_PLAYERS; i++) { SendClientMessage(playerid, COLOR_GREY, "Vocк deu a taxa para todos os players!"); format(string, sizeof(string), "* Vocк recebeu R$%d do banco de Impostos pelo Prefeito.",price); SendClientMessage(i, COLOR_LIGHTBLUE, string); GivePlayerMoney(i,price); } } SaveStuff(); } return true; }
|
ai Coloca new ContarJogadores = ?