27.09.2015, 17:31
(
Последний раз редактировалось OstGot; 28.09.2015 в 17:38.
)
Quote:
Also antidialog hack is non-working, as soon as any dialog is shown, when the player clicks a button it kicks the player with the code #039; dialog anticheat can't be disabled when adding false in static ac_ACAllow.
I am using easydialogs include, maybe that is causing the problem. |
Quote:
D:\TODOJO~1\dz\dz\pawno\include\nex-ac.inc(3931) : error 025: function heading differs from prototype
D:\TODOJO~1\dz\dz\pawno\include\nex-ac.inc(3931) : error 017: undefined symbol "checkpointid" D:\TODOJO~1\dz\dz\pawno\include\nex-ac.inc(3933) : error 055: start of function body without function header D:\TODOJO~1\dz\dz\pawno\include\nex-ac.inc(3934) : error 010: invalid function or declaration |
Quote:
I found one bug, or atleast it seems to be like a bug, when I do GivePlayerMoney(playerid, 1000); inside of OnPlayerSpawn, it kicks for money hack.
|
Quote:
Another bug that I found is that if you use GivePlayerWeapon inside onplayerspawn and if you spawn too quick you'll get kicked for weapon hack.
|
I'm not entirely sure because of what it could be, but I can advise (if somewhere else there is hook for these functions) to make them like in Hook Method 7
Quote:
Код:
E:\pawno\include\nex-ac.inc(2287) : warning 202: number of arguments does not match definition E:\pawno\include\nex-ac.inc(2301) : error 025: function heading differs from prototype E:\pawno\include\nex-ac.inc(532 : warning 202: number of arguments does not match definition E:\pawno\include\nex-ac.inc(532 : warning 202: number of arguments does not match definition E:\pawno\include\nex-ac.inc(532 : warning 202: number of arguments does not match definition E:\pawno\include\nex-ac.inc(532 : warning 202: number of arguments does not match definition E:\pawno\include\nex-ac.inc(532 : warning 202: number of arguments does not match definition E:\pawno\include\nex-ac.inc(532 : warning 202: number of arguments does not match definition E:\pawno\include\nex-ac.inc(5351) : error 025: function heading differs from prototype E:\pawno\include\mSelection.inc(590) : warning 201: redefinition of constant/macro (symbol "OnPlayerClickPlayerTextDraw") E:\pawno\include\YSI\y_hooks/impl.inc(1752) : warning 201: redefinition of constant/macro (symbol "OnVehicleDamageStatusUpdate") E:\pawno\include\YSI\y_hooks/impl.inc(3213) : warning 201: redefinition of constant/macro (symbol "OnPlayerSelectDynamicObject") |
2. Try to include mSelection and YSI before nex-ac
Quote:
Код:
E:\pawno\include\nex-ac.inc(157 : warning 219: local variable "info" shadows a variable at a preceding level |