[ajuda] Moeda Secundaria Bugada
#1

Gente depois de colocar a moeda secundaria deu um erro no pwn

Erro:
D:\Arquivos - Formatando\Sa-Mp\gamemodes\tlb.pwn(1317) : error: 017: undefined symbol "playermoney"
D:\Arquivos - Formatando\Sa-Mp\gamemodes\tlb.pwn(1317) : error: 017: undefined symbol "playermoney"
D:\Arquivos - Formatando\Sa-Mp\gamemodes\tlb.pwn(1317) : error: 017: undefined symbol "playermoney"
D:\Arquivos - Formatando\Sa-Mp\gamemodes\tlb.pwn(1317) : error fatal: 107: too many error messages on one line

Linhas:
public AtualizarGrana()
{
for(new i;i<MAX_PLAYERS;i++)
{
GivePlayerMoney(i, -GetPlayerMoney(i)); //nem essa pra ResetPlayerMoneyEx! nгo troque!
GivePlayerMoney(i, GetPlayerMoneyEx(i)); //nгo troque essa funзгo para GivePlayerMoneyEx!
}
}

stock GivePlayerMoneyEx(playerid, ammount)return playermoney[playerid] += ammount;
stock GetPlayerMoneyEx(playerid)return playermoney[playerid];
stock ResetPlayerMoneyEx(playerid)return playermoney[playerid] = 0;
}

Linhas Do Erro:

stock GivePlayerMoneyEx(playerid, ammount)return playermoney[playerid] += ammount;
stock GetPlayerMoneyEx(playerid)return playermoney[playerid];
Reply
#2

Tente adicionar no topo de seu GM

new playermoney[MAX_PLAYERS];


Caso nгo de poste exatamente o seu cуdigo.

Abraзos.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)