PDA

View Full Version : Some problems with NEX-AC (Anticheat)


mayster1596
02/05/2016, 07:16 PM
Hello. When I compile appear the following errors:

mod2\pawno\include\nex-ac.inc(1441) : error 035: argument type mismatch (argument 10)
mod2\pawno\include\nex-ac.inc(1439) : warning 203: symbol is never used: "maxplayers"
mod2\pawno\include\nex-ac.inc(1439) : warning 203: symbol is never used: "maxinteriors"
mod2\pawno\include\nex-ac.inc(1439) : warning 203: symbol is never used: "maxworlds"
mod2\pawno\include\nex-ac.inc(2288) : warning 202: number of arguments does not match definition
mod2\pawno\include\nex-ac.inc(2302) : error 025: function heading differs from prototype
mod2\pawno\include\nex-ac.inc(4616) : warning 202: number of arguments does not match definition
mod2\pawno\include\nex-ac.inc(4630) : error 025: function heading differs from prototype
mod2\pawno\include\eSelection.inc(651) : warning 201: redefinition of constant/macro (symbol "OnPlayerClickPlayerTextDraw")

lines:
1439 - stock acc_CreateDynamicPickupEx(modelid, type, Float:x, Float:y, Float:z, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players)
{
1441- new ac_pickupid = CreateDynamicPickupEx(modelid, type, x, y, z, streamdistance, worlds, interiors, players, maxworlds, maxinteriors, maxplayers);
2288- return ac_OnPlayerTakeDamage(playerid, issuerid, amount, weaponid, bodypart);
2302- forward ac_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart);
4416- return ac_OnVehicleDeath(vehicleid, killerid);
4630- forward ac_OnVehicleDeath(vehicleid, killerid);
What could be the problem ?
Thank you all!

mayster1596
03/05/2016, 08:17 AM
UP!!! HELP!!!

Dayrion
03/05/2016, 03:51 PM
Hello. Check this : https://forums.alliedmods.net/showthread.php?t=201044
Did you even read errors message?

tugaspeak
04/05/2016, 12:32 PM
Hey you have already resolved the problem?