[Ajuda] Galera problemas com dof2
#6

Quote:
Originally Posted by GuiKommander
View Post
PHP Code:
public OnGameModeInit()
{
    
SetTimer("SalvarTudo"1000false);
    return 
1;
}
forward SalvarTudo();
public 
SalvarTudo()
{
    for(new 
iMAX_PLAYERS; ++ i)
    {
        if(
IsPlayerConnected(i) && PlayerData[i][pLogado] == true)
        {
            
DOF2_SetInt(ContaPlayer(i), "Drogas"PlayerData[i][Drogas]);
        }
    }
    
SetTimer("SalvarTudo"1000false); // Eu recomendo usar o false, porque fica mais otimizado dentro do servidor.

vlw +rep
Reply


Messages In This Thread
Galera problemas com dof2 - by moura98 - 14.04.2019, 20:40
Re: Galera problemas com dof2 - by Felipealves - 14.04.2019, 20:46
Re: Galera problemas com dof2 - by moura98 - 14.04.2019, 21:05
Re: Galera problemas com dof2 - by GuiLopez - 14.04.2019, 21:21
Re: Galera problemas com dof2 - by GuiKommander - 14.04.2019, 21:29
Re: Galera problemas com dof2 - by moura98 - 14.04.2019, 22:05
Re: Galera problemas com dof2 - by GuiKommander - 14.04.2019, 22:17
Re: Galera problemas com dof2 - by moura98 - 14.04.2019, 22:36

Forum Jump:


Users browsing this thread: 1 Guest(s)