27.07.2010, 04:04
(
Последний раз редактировалось Danilo_Grut; 27.07.2010 в 04:14.
)
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];
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];