Posts: 27
Threads: 13
Joined: Dec 2009
Reputation:
0
olб uso o GM do GF e gostaria de saber aonde eu edito o dinheiro inicial dos players -novatos. Obrigado
Posts: 6,840
Threads: 94
Joined: Apr 2010
Reputation:
0
no lvdm й assim PackedMoney Mais
Vai no OnPlayerSpawn e procura por GivePlayerMoney, Se Nгo tiver nгo sei
obs,nunca usei ou estudei gf.
Posts: 200
Threads: 10
Joined: Feb 2010
Reputation:
0
Pesquisa com CTRL+F o termo 'case 7' e muda la!
Posts: 27
Threads: 13
Joined: Dec 2009
Reputation:
0
Nгo achei nada... o que eu achei foi:
public AtualizarGrana()
{
for(new i;i<MAX_PLAYERS;i++)
{
ResetPlayerMoney( 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 playermoneyEx[playerid] += ammount;
stock GetPlayerMoneyEx(playerid)return playermoneyEx[playerid];
stock ResetPlayerMoneyEx(playerid)return playermoneyEx[playerid] = 0;
Posts: 200
Threads: 10
Joined: Feb 2010
Reputation:
0
Entгo vб na бrea em que ocorre o tйrmino do tutorial.