[Ajuda] Nex-AC - Anticheat system ERROR
#1

Eu tentei colocar a include Nex-AC De anticheat Mas quando compilo o gm com ela da o seguinto erro e warning's
Quote:

C:\Users\samp037_svr_R2-1-1_win32\pawno\include\nex-ac.inc(2287) : warning 202: number of arguments does not match definition
C:\Users\samp037_svr_R2-1-1_win32\pawno\include\nex-ac.inc(2301) : error 025: function heading differs from prototype
C:\Users\samp037_svr_R2-1-1_win32\pawno\include\nex-ac.inc(4069) : warning 219: local variable "hitid" shadows a variable at a preceding level

mINHAS INCLUDES ESTГO ORGANIZADAS ASSIM
Quote:

#include < a_samp >
#include < streamer >
#include < a_npc >
#include < file >
#include < Dini >
#include < float >
#include < time >
#include < streamer >
#include < nex-ac >
#include < foreach >
#include < sscanf2 >

Reply
#2

As linhas que vocк deve mandar sгo as seguintes: 2287 - 2301 - 4069
Acredito que nгo tenha nada a ver com a "organizaзгo das includes ao incluir".

Abraзos.
Reply
#3

Eu coloquei no meu GM e nгo da problema nenhum, sinceramente acredito que algumas includes suas estгo desatualizadas, tente baixar as mais recentes....
Reply
#4

Linha 2336:
Quote:

#endif

Linha 2329 a 2337:
Quote:

{
AntiCheatInfo[playerid][acDeathRes] = true;
#if !defined _inc_y_hooks && !defined _INC_y_hooks\
&& defined ac_OnPlayerTakeDamage
return ac_OnPlayerTakeDamage(playerid, issuerid, amount, weaponid, bodypart);
#else
return 1;
#endif
}

Linha 2310 a 2329:
Quote:

}

#if !defined _inc_y_hooks && !defined _INC_y_hooks
#if defined _ALS_OnPlayerDeath
#undef OnPlayerDeath
#else
#define _ALS_OnPlayerDeath
#endif
#define OnPlayerDeath ac_OnPlayerDeath
#if defined ac_OnPlayerDeath
forward ac_OnPlayerDeath(playerid, killerid, reason);
#endif
#endif

#if defined _inc_y_hooks || defined _INC_y_hooks
Hook:ac_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
#else
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
#endif
{

Linha 4090 a 4098
Quote:

AntiCheatInfo[playerid][acCall][27] = AntiCheatInfo[playerid][acCall][11] = GetTickCount();
if(ac_ur) AntiCheatInfo[playerid][acGtc][10] = AntiCheatInfo[playerid][acCall][27];
#if !defined _inc_y_hooks && !defined _INC_y_hooks\
&& defined ac_OnPlayerStateChange
return ac_OnPlayerStateChange(playerid, newstate, oldstate);
#else
return 1;
#endif
}

jб atualizei minhas includes e nгo deu nada, se poder passar a sua pasta de includes, agradeзo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)