[Ajuda] include FloodControl
#2

PHP код:

public OnPlayerDisconnect(playeridreason)
{
    new 
caller Mobile[playerid];
    
OnPlayerSave(playerid);
    if(
caller != 255)
    {
        if(
caller 255)
        {
            
SendClientMessage(caller,  COLOR_BLUE"A Ligacao caiu...");
            
CellTime[caller] = 0;
            
CellTime[playerid] = 0;
            
Mobile[caller] = 255;
        }
        
Mobile[playerid] = 255;
        
CellTime[playerid] = 0;
    }
    
BusrouteEast[playerid][0] = 0;
    
BusrouteWest[playerid][0] = 0;
    if(
PlayerInfo[playerid][pAdmin] == 1356)
    {
        
format(gstringsizeof(gstring), "~p~%s: ~r~OFF"PlayerName(playerid));
        for(new 
i=0i<MAX_PLAYERSi++)
        {
            if(
IsPlayerConnected(i))
            {
                
GameTextForPlayer(igstring 10001);
            }
        }
    }
    return 
1;

Tente isto ..
Reply


Messages In This Thread
include FloodControl - by Freak@ - 12.07.2013, 13:17
Re: include FloodControl - by darkxdll - 12.07.2013, 13:22
Re: include FloodControl - by Freak@ - 12.07.2013, 13:27
Re: include FloodControl - by darkxdll - 12.07.2013, 13:35
Re: include FloodControl - by Freak@ - 12.07.2013, 13:42
Re: include FloodControl - by darkxdll - 12.07.2013, 13:43
Re: include FloodControl - by Freak@ - 12.07.2013, 13:47
Re: include FloodControl - by darkxdll - 12.07.2013, 13:50

Forum Jump:


Users browsing this thread: 2 Guest(s)