Help again
#8

my OnPlayerDisconnect() function
PHP код:
 public OnPlayerDisconnect(playeridreason)
{
    if(
AccountInfo[playerid][LoggedIn] == 2
    {
        if(
Cuffed[playerid] == 1)
        {
            
AccountInfo[playerid][JailSeconds] += 60 60
            
AccountInfo[playerid][Warns]        ++;         
            
            if(
AccountInfo[playerid][Warns] >= 10)
            {
                
BanPlayer(-1playerid"Reloging On Catch");
            }
        }
    
        
SavePlayerData(playerid); 
Reply


Messages In This Thread
Help again - by isorinis - 12.08.2017, 20:05
Re: Help again - by StefaNO [ITA] - 12.08.2017, 20:08
Re: Help again - by R4nd4ll - 12.08.2017, 20:16
Re: Help again - by isorinis - 13.08.2017, 14:41
Re: Help again - by isorinis - 14.08.2017, 11:50
Re: Help again - by 10MIN - 14.08.2017, 14:17
Re: Help again - by isorinis - 14.08.2017, 15:39
Re: Help again - by isorinis - 14.08.2017, 15:50

Forum Jump:


Users browsing this thread: 3 Guest(s)