23.11.2011, 21:28
Quote:
Vlw Tio, Ajudou +Reputation pra Ocй.
Mais o certo seria : Inicio do GameMode : pawn Код:
pawn Код:
|
Outra coisa, usar OnPlayerUpdate, sу vai lagar seu servidor.
Correto:
PHP код:
// OnGameModeInit
SetTimer("VidaColete", 300000, true);
// Final do Gamemode
VidaColete();
public VidaColete()
{
for(new i = 0; i != MAX_PLAYERS; i++)
{
SetPlayerHealth(i, 50);
SetPlayerArmour(i, 50);
}
return 1;
}