Problem(error/warning): ZnaÄi ubacujem nex-ac.inc u svoj mod i sada dobijam errore kod onunoccupiedvehicleupdate. Eto dole pastebin link sa svim informacijama.
https://pastebin.com/dwKGz0J1
Deo skripte: [pawn] [/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike
Trebalo bi u tvom gamemodu da je ovakav public
[pawn]public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)[/pawn]
Citat: TERZIC poslato Jun 08, 2019, 15:09:54 POSLE PODNE
Trebalo bi u tvom gamemodu da je ovakav public
[pawn]public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)[/pawn]
[pawn]error 025: function heading differs from prototype[/pawn]
Si include nex-ac u skriptu?
Si postavio sve kak treba u skriptu dole ona sranja sto se treba dobit
Posalji listu include-a .
Citat: TERZIC poslato Jun 08, 2019, 23:54:24 POSLE PODNE
Posalji listu include-a .
[pawn]#include <a_samp>
#include < weapon-config >
#include < SKY >
#if defined _ALS_OnPlayerGiveDamage
#undef OnPlayerGiveDamage
#else
#define _ALS_OnPlayerGiveDamage
#endif
#define OnPlayerGiveDamage NULL_OnPlayerGiveDamage
#if defined NULL_OnPlayerGiveDamage
forward NULL_OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid);
#endif
#if defined _ALS_OnPlayerTakeDamage
#undef OnPlayerTakeDamage
#else
#define _ALS_OnPlayerTakeDamage
#endif
#define OnPlayerTakeDamage NULL_OnPlayerTakeDamage
#if defined NULL_OnPlayerTakeDamage
forward NULL_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid);
#endif
#include <a_objects>
#include <streamer>
#include <sscanf2>
#include <YSI\y_ini>
#include <YSI\y_iterate>
#include <YSI\y_timers>
#include <utils>
#include <newsamp>
#include <progress2>
#include <mapandreas>
#include <mSelection>
#include <eSelection>
#include <GetVehicleColor>
#include <dini>
#include <Pawn.CMD>
#include <nex-ac>
#include "LGMAPE.pwn"[/pawn]
Citat: RomaNN poslato Jun 08, 2019, 23:08:42 POSLE PODNE
Si postavio sve kak treba u skriptu dole ona sranja sto se treba dobit
Koa sranja?
weapon-config bi trebao na kraj da ti bude dok nex-ac odmah ispod biblioteka a_samp i streamer-a
Citat: ?_terzic_? poslato Jun 09, 2019, 11:01:57 PRE PODNE
weapon-config bi trebao na kraj da ti bude dok nex-ac odmah ispod biblioteka a_samp i streamer-a
Bice problem ako stavi weapon config na kraj..
Posalji mod PP i resicu 8)
Citat: .tayloR ãƒ,, poslato Jun 09, 2019, 12:23:43 POSLE PODNE
Bice problem ako stavi weapon config na kraj..
Bice ako ne znate da rasporedite biblioteke kako treba
Da stavljam na kraj ili na vrh?
[pawn]#include <a_samp>
#include <nex-ac>
#include < weapon-config >
#include < SKY >
#if defined _ALS_OnPlayerGiveDamage
#undef OnPlayerGiveDamage
#else
#define _ALS_OnPlayerGiveDamage
#endif
#define OnPlayerGiveDamage NULL_OnPlayerGiveDamage
#if defined NULL_OnPlayerGiveDamage
forward NULL_OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid);
#endif
#if defined _ALS_OnPlayerTakeDamage
#undef OnPlayerTakeDamage
#else
#define _ALS_OnPlayerTakeDamage
#endif
#define OnPlayerTakeDamage NULL_OnPlayerTakeDamage
#if defined NULL_OnPlayerTakeDamage
forward NULL_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid);
#endif
#include <a_objects>
#include <streamer>
#include <sscanf2>
#include <YSI\y_ini>
#include <YSI\y_iterate>
#include <YSI\y_timers>
#include <utils>
#include <newsamp>
#include <progress2>
#include <mapandreas>
#include <mSelection>
#include <eSelection>
#include <GetVehicleColor>
#include <dini>
#include <Pawn.CMD>
#include "LGMAPE.pwn"[/pawn]
Citat: 002 poslato Jun 09, 2019, 14:13:53 POSLE PODNE
[pawn]#include <a_samp>
#include <nex-ac>
#include < weapon-config >
#include < SKY >
#if defined _ALS_OnPlayerGiveDamage
#undef OnPlayerGiveDamage
#else
#define _ALS_OnPlayerGiveDamage
#endif
#define OnPlayerGiveDamage NULL_OnPlayerGiveDamage
#if defined NULL_OnPlayerGiveDamage
forward NULL_OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid);
#endif
#if defined _ALS_OnPlayerTakeDamage
#undef OnPlayerTakeDamage
#else
#define _ALS_OnPlayerTakeDamage
#endif
#define OnPlayerTakeDamage NULL_OnPlayerTakeDamage
#if defined NULL_OnPlayerTakeDamage
forward NULL_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid);
#endif
#include <a_objects>
#include <streamer>
#include <sscanf2>
#include <YSI\y_ini>
#include <YSI\y_iterate>
#include <YSI\y_timers>
#include <utils>
#include <newsamp>
#include <progress2>
#include <mapandreas>
#include <mSelection>
#include <eSelection>
#include <GetVehicleColor>
#include <dini>
#include <Pawn.CMD>
#include "LGMAPE.pwn"[/pawn]
[pawn]C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7097) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7097) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7097) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7097) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7097) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7097) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7121) : error 025: function heading differs from prototype[/pawn]
Reseno , Lock !
Patofna PP 8)
Fixano, hvala svima. Katanac.