[FilterScript] VBan2 - Sistema de bans
#4

Acabei de recompilar, e nгo teve nenhum erro.

PHP код:
VBan(playeridadminMotivo[])
{
    if(
IsPlayerConnected(playerid))
    {
        new 
AdminNick[MAX_PLAYER_NAME];
        if(
admin == -1format(AdminNickMAX_PLAYER_NAME"VBot");
        else 
format(AdminNickMAX_PLAYER_NAMEPlayer(admin));

        
format(VBString,128,"'- VBan -' O jogador %s foi banido por %s. Motivo: %s",Player(playerid),AdminNick,Motivo);
        
SendClientMessageToAll(CorBan,VBString);
        
format(VBString35"/Bans/%s.ini"Player(playerid));
        
VBanSaveInfo(VBStringPlayer(playerid), AdminNickPlayerIP(playerid), getdate()-1Motivo);
        
format(VBString35"/Bans/%s.ini"PlayerIP(playerid));
        
VBanSaveInfo(VBStringPlayer(playerid), AdminNickPlayerIP(playerid), getdate()-1Motivo);
        
VBanLoadInfo(playerid,VBString);
        
SetTimerEx("VBKick",300false"i"playerid);
    }
    else 
SendClientMessage(adminCorErro"Jogador nгo conectado.");

    return 
true;

Reply


Messages In This Thread
VBan2 - Sistema de bans - by ViniBorn - 11.04.2017, 18:59
Re: VBan2 - Sistema de bans - by Luiiiz - 11.04.2017, 19:15
Re: VBan2 - Sistema de bans - by Feelipe - 11.04.2017, 19:54
Re: VBan2 - Sistema de bans - by ViniBorn - 11.04.2017, 20:05
Re: VBan2 - Sistema de bans - by IlanZ - 11.04.2017, 20:22
Re: VBan2 - Sistema de bans - by AuhMaru - 11.04.2017, 20:28
Re: VBan2 - Sistema de bans - by PesadaO - 11.04.2017, 21:48
Re: VBan2 - Sistema de bans - by DarkBr - 11.04.2017, 22:52
Re: VBan2 - Sistema de bans - by PT - 12.04.2017, 05:29
Re: VBan2 - Sistema de bans - by ViniBorn - 13.04.2017, 21:17

Forum Jump:


Users browsing this thread: 3 Guest(s)