Jump to content
  • 0

Problema anti cheat Nex-AC


Yonut

Question

Salut! Am intampinat o problema cu anticheatul NEX-AC.

Am incercat sa-l includ in gamemode-ul lui edison v4. Am pus fisierele nex-ac.inc si nex-ac_en.lang in fisierul din pawno includes.

Am dat #include <nex-ac> dupa #include <a_samp>

Imi da urmatoarele errori:

C:\Users\Yonut\Desktop\Proiect\pawno\include\nex-ac.inc(7937) : warning 202: number of arguments does not match definition
C:\Users\Yonut\Desktop\Proiect\pawno\include\nex-ac.inc(7937) : warning 202: number of arguments does not match definition
C:\Users\Yonut\Desktop\Proiect\pawno\include\nex-ac.inc(7937) : warning 202: number of arguments does not match definition
C:\Users\Yonut\Desktop\Proiect\pawno\include\nex-ac.inc(7995) : error 025: function heading differs from prototype

Edited by Yonut
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Liniile cu errori:

    #if defined ac_OnUnoccupiedVehicleUpdate
        #if defined OnTrailerUpdate
            new ac_a = ac_OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, new_x, new_y, new_z, vel_x, vel_y, vel_z); // Linia 7937
        #elseif defined GetServerTickRate
            new ac_a = ac_OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, new_x, new_y, new_z);
        #else
            new ac_a = ac_OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat);
        #endif
    #endif

 

-------------------------------------------------

#if defined ac_OnUnoccupiedVehicleUpdate
    #if defined OnTrailerUpdate
        forward ac_OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z); // Linia 7995
    #elseif defined GetServerTickRate
        forward ac_OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z);
    #else
        forward ac_OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat);
    #endif
#endif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.