[AJUDA] ANTI-DB
#2

pawn Код:
#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT
#endif

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print("ANTI-DB.");
    print("--------------------------------------\n");
    return 1;
}


public OnPlayerDeath(playerid, killerid, reason)
{
    if(IsPlayerInAnyVehicle(killerid)) {
        new string[100],acusado[24],vitima[24];
        GetPlayerName(killerid,acusado,24);
        GetPlayerName(playerid,vitima,24);
        format(string, sizeof(string),"| ANTI-DB | %s Foi Kickado automaticamente. Motivo: Fez Drive-By em %s .",acusado,vitima);
        SendClientMessageToAll(0x0080FFAA, string);
        PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
        Kick(killerid);
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA] ANTI-DB - by Allanrokeiro - 05.12.2010, 19:11
Re: [AJUDA] ANTI-DB - by ipsBruno - 05.12.2010, 19:14
Re: [AJUDA] ANTI-DB - by rjjj - 05.12.2010, 19:14
Re: [AJUDA] ANTI-DB - by zSuYaNw - 05.12.2010, 19:15
Re: [AJUDA] ANTI-DB - by Allanrokeiro - 05.12.2010, 19:15
Re: [AJUDA] ANTI-DB - by blackwave - 05.12.2010, 20:05
Re: [AJUDA] ANTI-DB - by [Fx]GhOsT - 16.12.2010, 01:43
Re: [AJUDA] ANTI-DB - by Pierox_ - 16.12.2010, 04:56

Forum Jump:


Users browsing this thread: 2 Guest(s)