Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: .варнинг poslato Jun 08, 2019, 13:34:57 POSLE PODNE

Naslov: Nex-AC Problem
Poruka od: .варнинг poslato Jun 08, 2019, 13:34:57 POSLE PODNE
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
Naslov: Odg: Nex-AC Problem
Poruka od: Terza Lazarevic 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]
Naslov: Odg: Nex-AC Problem
Poruka od: .варнинг poslato Jun 08, 2019, 15:16:59 POSLE PODNE
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]
Naslov: Odg: Nex-AC Problem
Poruka od: roman42O poslato Jun 08, 2019, 18:50:17 POSLE PODNE
Si include nex-ac u skriptu?
Naslov: Odg: Nex-AC Problem
Poruka od: .варнинг poslato Jun 08, 2019, 18:57:20 POSLE PODNE
Citat: RomaNN poslato Jun 08, 2019, 18:50:17 POSLE PODNE
Si include nex-ac u skriptu?
Jesam
Naslov: Odg: Nex-AC Problem
Poruka od: roman42O poslato Jun 08, 2019, 23:08:42 POSLE PODNE
Si postavio sve kak treba u skriptu dole ona sranja sto se treba dobit
Naslov: Odg: Nex-AC Problem
Poruka od: Terza Lazarevic poslato Jun 08, 2019, 23:54:24 POSLE PODNE
Posalji listu include-a .
Naslov: Odg: Nex-AC Problem
Poruka od: .варнинг poslato Jun 09, 2019, 07:19:32 PRE PODNE
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?
Naslov: Odg: Nex-AC Problem
Poruka od: Terza Lazarevic 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
Naslov: Odg: Nex-AC Problem
Poruka od: _tayloR poslato Jun 09, 2019, 12:23:43 POSLE PODNE
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..
Naslov: Odg: Nex-AC Problem
Poruka od: imnaithan poslato Jun 09, 2019, 12:37:20 POSLE PODNE
Posalji mod PP i resicu   8)
Naslov: Odg: Nex-AC Problem
Poruka od: Terza Lazarevic poslato Jun 09, 2019, 12:54:56 POSLE PODNE
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
Naslov: Odg: Nex-AC Problem
Poruka od: .варнинг poslato Jun 09, 2019, 13:36:53 POSLE PODNE
Da stavljam na kraj ili na vrh?
Naslov: Odg: Nex-AC Problem
Poruka od: __vedran.xyz77 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]
Naslov: Odg: Nex-AC Problem
Poruka od: .варнинг poslato Jun 09, 2019, 21:03:42 POSLE PODNE
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]
Naslov: Odg: Nex-AC Problem
Poruka od: imnaithan poslato Jun 09, 2019, 23:52:27 POSLE PODNE
Reseno , Lock !

Patofna PP  8)
Naslov: Odg: Nex-AC Problem
Poruka od: .варнинг poslato Jun 10, 2019, 08:00:05 PRE PODNE
Fixano, hvala svima. Katanac.