[Ajuda] Ant Fake Kill
#1

Pessoal sou novo no Forum , preciso da ajuda de vocкs tenho um servidor ultimamente estava batendo 42/60
na hora em que bateu 42 Online , comeзaram a atakar com "FakeKill" eu acho , aquele negosso que da nivel de procura e comete db no cara que ta atakando
pesso ajuda de vocкs para me arrumarem um Ant FakeKill que funcione procurei aqui no forum , achei alguns mais nгo funcionam , por isso resolvi criar a conta para pedir a ajuda de vocкs
Reply
#2

voce pode encontrar varios Clicando Aqui
Reply
#3

Funcional >Clique aqui
Reply
#4

Leonardo , muito obrigado

porem deu 2 Warning se tiver como me ajudar a tirar

Код:
C:\Documents and Settings\Matheus\Meus documentos\Downloads\BMG\gamemodes\BMG.pwn(8210) : warning 225: unreachable code
C:\Documents and Settings\Matheus\Meus documentos\Downloads\BMG\gamemodes\BMG.pwn(8540) : warning 209: function "OnPlayerDeath" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          12160 bytes
Reply
#5

Vocк fez algo de errado, pois o cуdigo acima й funcional(nгo contкm erros)l. Reveja o que fizeste.
Reply
#6

Botei nas minhas "new"
Код:
new totaldemortes[MAX_PLAYERS];
Botei na minha public OnPlayerDeath(playerid, killerid, reason)
Код:
{
    totaldemortes[playerid]++;
    if(totaldemortes[playerid] >  2) return SendClientMessage(playerid,-1,"Crйditos a tio le le leo.!"),Ban(playerid);
    SetTimerEx("funfa", 1000, false, "i",playerid);
    return 1;
}
Botei nas minhas "forward's"
Код:
forward funfa(playerid);
botei nas minhas public certinho e aconteceu os dois warnings
Код:
public funfa(playerid)
{
    totaldemortes[playerid] = 0;
}
Код:
C:\Documents and Settings\Matheus\Meus documentos\Downloads\BMG\gamemodes\BMG.pwn(8196) : warning 225: unreachable code
C:\Documents and Settings\Matheus\Meus documentos\Downloads\BMG\gamemodes\BMG.pwn(8526) : warning 209: function "OnPlayerDeath" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          12148 bytes
Code size:          2382148 bytes
Data size:          2252264 bytes
Stack/heap size:      16384 bytes; estimated max. usage=7159 cells (28636 bytes)
Total requirements: 4662944 bytes

2 Warnings.
Reply
#7

Eu e o Matheus jб conseguimos, obrigado а quem ajudou
Reply
#8

Deixe seu cуdigo assim:

pawn Код:
{
    totaldemortes[playerid]++;
    if(totaldemortes[playerid] >  2) return SendClientMessage(playerid,-1,"Crйditos a tio le le leo.!"),Ban(playerid);
    SetTimerEx("funfa", 1000, false, "i",playerid);
   
}
Reply
#9

Код:
C:\Documents and Settings\Matheus\Meus documentos\Downloads\BMG\gamemodes\BMG.pwn(8531) : warning 209: function "OnPlayerDeath" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          12148 bytes
Code size:          2382124 bytes
Data size:          2252264 bytes
Stack/heap size:      16384 bytes; estimated max. usage=7159 cells (28636 bytes)
Total requirements: 4662920 bytes

1 Warning.
com o Codigo acima eu consegui tirar 1 warning , falta + 1 alguem ?
Reply
#10

Vocк esqueceu a return do onplayerdeath no final antes de fechar a public poe return 1;
antes da ultima } do onplayerdeath
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)