[Ajuda] Code
#6

PHP код:
public kickarafk(playerid

    if(
AFK[playerid] == 0) return 1
    new 
pname[MAX_PLAYER_NAME]; 
    
GetPlayerName(playeridpnameMAX_PLAYER_NAME); 
    new 
string[128]; 
    if(
AFK[playerid] == 1
    {
           if(!
IsPlayerAdmin(playerid))
           {
            
format(stringsizeof(string), " | INFO-SERVER | O Moderador Gzre kickou O(a) Jogador(a): %s (Motivo: Afk por 10 minutos)"pname); 
            
SendClientMessageToAll(admstring); 
            
Kick(playerid); 
        }else{
            
SendClientMessage(playerid,-1"Vocк nгo foi kickado pois й Admin");
        }
    }
    return 
1

Reply


Messages In This Thread
Code - by GabrielMT - 03.05.2017, 04:54
Re: Code - by Toroi - 03.05.2017, 05:26
Re: Code - by moura98 - 03.05.2017, 05:34
Re: Code - by GabrielMT - 03.05.2017, 10:33
Re: Code - by moura98 - 03.05.2017, 11:14
Re: Code - by IlanZ - 03.05.2017, 18:45
Re: Code - by ipsLuan - 04.05.2017, 02:06
Re: Code - by AuhMaru - 04.05.2017, 02:18
Re: Code - by ipsLuan - 04.05.2017, 02:22
Re: Code - by AuhMaru - 04.05.2017, 02:24

Forum Jump:


Users browsing this thread: 1 Guest(s)