SA-MP Forums Archive
[FilterScript] Sistema Anti-DB - By: SC - Votem! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+----- Forum: Lançamentos/Releases (https://sampforum.blast.hk/forumdisplay.php?fid=56)
+----- Thread: [FilterScript] Sistema Anti-DB - By: SC - Votem! (/showthread.php?tid=271216)

Pages: 1 2


Re: Sistema Anti-DB - By: SC - Votem! - Shadoww5 - 23.07.2011

Quote:
Originally Posted by Black Sσldiєя
Посмотреть сообщение
prefiru u mel dб banned gerals qero ve fazer db зaporra ai

public osplayersisconnected
pawn Код:
SendClientMessage(playerid, 0xFFFFFFFF, "Vocк foi banido por drive-by se isso foi um erro desculpe-nos!");
Ban(playerid);
Na public OnPlayerDisconnect ?

Vocк quer banir todo mundo de uma vez ?


Re: Sistema Anti-DB - By: SC - Votem! - Black Sσldiєя - 23.07.2011

malz genti se с funfo faso a v2.0 pra vcs blz rsrs
costo click na istrela alн <<


Re: Sistema Anti-DB - By: SC - Votem! - Devastador - 26.07.2011

Bom, vamos ser sinceros, isso que ele postou й uma tremenda de uma m-e-r-d-a e pelo jeito de falar se acha fodгo. Rs.


Re: Sistema Anti-DB - By: SC - Votem! - Sr.Pekeno - 26.07.2011

Devastador Totalmente certo, hahaha..


Re: Sistema Anti-DB - By: SC - Votem! - RebeloX - 26.07.2011

Alem deste sistema estar incompleto como ele seria punido se nгo amostra nada para os adms?

Podia usar uma coisa simples assim.

pawn Код:
new Str[128];
new pName[MAX_PLAYER_NAME];
depois onde estгo as duas mensagens colocava isto
pawn Код:
GetPlayerName(killerid, pName, MAX_PLAYER_NAME);
format(Str, 128, "[AVISO] %s cometeu um Drive-by", pName);
SendClientMessage(playerid,0x0000FFAA,Str);
Poderia ter postado nos codigos uteis, mas antes de postar teste os seus codigos.


Re: Sistema Anti-DB - By: SC - Votem! - Kuddy - 26.07.2011

Top FS 100/10і


Re: Sistema Anti-DB - By: SC - Votem! - RebeloX - 26.07.2011

esqueci o sendmessagetoall '-'


Re: Sistema Anti-DB - By: SC - Votem! - Skoll - 12.08.2011

desculpa ressucitar o tуpico;
o meu ta mais completo:
topo:
pawn Код:
new Float:Xp, Yp, Zp;
pawn Код:
public OnPlayerSpawn(playerid)
{
GetPlayerPos(playerid, Xp, Yp, Zp);
return 0;
}
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new vitima[MAX_PLAYER_NAME], acusado[MAX_PLAYER_NAME], string[115];
    if(IsPlayerInAnyVehicle(killerid))
    {
        if(GetVehicleModel(GetPlayerVehicleID(killerid)) != 425 || GetVehicleModel(GetPlayerVehicleID(killerid)) != 520)
        {
            SendClientMessage(killerid, COLOR_RED,"Vos hice drive-by, no hagas mas eso o va ser expulsado.");
            SetPlayerPos(playerid, Xp, Yp, Zp);
            SetPlayerArmour(playerid, 20);
            SendClientMessage(playerid, COLOR_WHITE, "Gaсaste un chaleco(cantidad: 20) y fuiste restaurado. Salvate!");
            SendClientMessage(playerid, COLOR_RED, "El responsavel por el drive-by fue castigado.");
            format(string, sizeof(string), "%s fue encarcelado por hacer drive-by en %s [tiempo: 2 minutos]", acusado, vitima);
            SendClientMessageToAll(COLOR_RED, string);
            SetTimer(killerid, "SerPreso", 500, false);
        }
    }
pawn Код:
forward SerPreso(playerid, killerid);
public Serpreso(playerid, killerid)
{
SetPlayerPos(killerid, X, Y, Z);
SetTimer(playerid, "SerSolto", 120000, false);
return 0;
}
pawn Код:
forward SerSolto(playerid);
public SerSolto(playerid)
{
SpawnPlayer(payerid);
return 0;
}



Re: Sistema Anti-DB - By: SC - Votem! - Link_ - 13.08.2011

isto ta mais pra um code'