Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2015-11-07, 16:12


Erwin

Erwin






Wiek: 30
Na forum: 4707 dni
Posty: 78
Nick w MP: Misio



Respekt: 50

Witam mam problem jakis noob wbija mi na server i atakuje fake killem , dodaje sie 1 exp itp , znalaz?em oto taki kod :

pomoze mi go ktos zrobic na wersje 0.3.7 .r2 zeby zadzia?a? ?? ;/
Kod:


/*
This filterScript made by: MoHaNeD14
If you want a Private Scripter or Server Manger Pm me at:
Skypee: Mohanedzahran
SampFourmname: MoHaNeD14
CopyRights: MohanedZahran
Thanks for reading and Download
Soon:
[Ilegal] San Frerro Cops and Robbers
Wait the Ip on samp fourm Soon Thanks :)

*/
#include <a_samp>
new antifakekill[MAX_PLAYERS];
public OnFilterScriptInit()
{
print(" Anti-FakeKill Loading ...........");
print(" Created by: MoHaNeD14 Don't forget :D ");
return 1;
}

public OnPlayerText(playerid, text[])
{
if(strfind(text,"!kill",true) == 0) return Kick(playerid);
if(strfind(text,"www.samphax.tk",true) == 0) return Kick(playerid);
if(strfind(text,"Fake-Kill",true) == 0) return Kick(playerid);
if(strfind(text,"GTA Fake-Kill",true) == 0) return Kick(playerid);
if(strfind(text,"Troll Player Fake-Kill",true) == 0) return Kick(playerid);

return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
antifakekill[playerid] ++;
SetTimerEx("antifakekill2", 1000,false,"i",playerid);
return 1;
}

forward antifakekill2(playerid);
public antifakekill2(playerid)
{
antifakekill[playerid] --;
if(antifakekill[playerid] > 5)
{
SendClientMessage(playerid, 0xFF0000AA, "[Anti-Cheat]You have been Kicked from the Server for Reason: Fake-Kill Created by MoHaNeD14");
Kick(playerid);
}
return 1;
}


Ostatnio zmieniony przez ToxiC. 2015-11-07, 18:04, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-11-07, 18:04


ToxiC.







Wiek: 28
Na forum: 5246 dni
Posty: 3792

Piwa: 8590

Respekt: 1143,8
Respekt: 1143,8

Nastepnym razem kod podaj w tagach [code]. Aby mie? na najnowsz? wersje wystarczy wklei? ten skrypt do pawno 0.3.7 i skompilowa? - gotowe.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-11-07, 18:28


Erwin

Erwin






Wiek: 30
Na forum: 4707 dni
Posty: 78
Nick w MP: Misio



Respekt: 50

Dobra , ale to jest kod na zabezpieczenie przeciw fake kill ? tak ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-11-07, 18:32


ToxiC.







Wiek: 28
Na forum: 5246 dni
Posty: 3792

Piwa: 8590

Respekt: 1143,8
Respekt: 1143,8

Erwin, no przecie? pisze :) Tak to jest anty fakekill.

Postaw piwo autorowi tego posta
 

 
Tagi: fake :: kill
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku