SA-MP Forums Archive
[Ajuda] Dinheiro insuficiente na compra de equipe - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Dinheiro insuficiente na compra de equipe (/showthread.php?tid=586533)



Dinheiro insuficiente na compra de equipe - TheModern - 22.08.2015

Entгo, estou usando um sistema de equipes, mas quando tento comprar uma equipe, diz que estou sem dinheiro, sendo que estou. Mas nгo to entendendo o motivo pode me ajudar?

pawn Код:
if(listitem == 0)
            {
                if(GetPlayerMoney(playerid) < 200000) return SendClientMessage(playerid,0x33CCFFAA,"[--- Server Info ---] Vocк nгo tem dinheiro suficiente !");
                ShowPlayerDialog(playerid,OpcoesPainel, DIALOG_STYLE_INPUT,
                "[ Equipe]", "[-- Server Info --]",
                 "OK", "Sair");
                SetPVarInt(playerid,"PainelValue",1);
                new ProprioMembro[MAX_PLAYER_NAME];
                GetPlayerName(playerid,ProprioMembro,MAX_PLAYER_NAME);
                strmid(PlayerRecrutaDeOutroPlayer[playerid],ProprioMembro,false,strlen(ProprioMembro),MAX_PLAYER_NAME);
                return 1;
            }



Re: Dinheiro insuficiente na compra de equipe - Cleyson - 22.08.2015

Pode ser que a GM que vocк esta usando para testar tenha algum cуdigo de anti money que tenha alterado essa funзгo GetPlayerMoney


Re: Dinheiro insuficiente na compra de equipe - TheModern - 22.08.2015

Quote:
Originally Posted by Cleyson
Посмотреть сообщение
Pode ser que a GM que vocк esta usando para testar tenha algum cуdigo de anti money que tenha alterado essa funзгo GetPlayerMoney
Jб estб resolvido, valeu.