01.04.2016, 22:38
Hola, supongo que asн deberнa funcionar.
Creo que en la 0.3.7 hay que usar GetPlayerPoolSize y no MAX_PLAYERS, pero no estoy seguro.
pawn Код:
public ChecarMoney(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(GetPlayerMoney(i) != Dinero[i])
{
SetPlayerMoney(i, Dinero[i]);
}
}
}
}