Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: .варнинг poslato Maj 25, 2019, 10:54:01 PRE PODNE

Naslov: Nex-AC
Poruka od: .варнинг poslato Maj 25, 2019, 10:54:01 PRE PODNE
Problem(error/warning): Pa ovako, ubacio sam Nex-AC inc, define sam ga u modu i compile sam. Izlaze mi 4 errora, dva od weapon-configa, oni se pojavljuju samo kada je nex-ac includeovan, 2 od Nex-AC.
Deo skripte: [pawn]C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(1470) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(1470) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(1470) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(1893) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(1891) : symbol is never used: "addsiren"
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(1920) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(1918) : symbol is never used: "addsiren"
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7521) : error 025: function heading differs from prototype
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7719) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7719) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7719) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7719) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7719) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7719) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\LG-OGC\pawno\include\nex-ac.inc(7764) : error 025: function heading differs from prototype
C:\Users\User\Desktop\LG-OGC\pawno\include\weapon-config.inc(1636) : error 017: undefined symbol "X"
C:\Users\User\Desktop\LG-OGC\pawno\include\weapon-config.inc(1640) : error 017: undefined symbol "X"
LINIJA 7764 Nex: 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);
LINIJA 7521 Nex: public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)
weaponconfig: stock WC_SetPlayerVelocity(playerid)
{
   if (playerid < 0 || playerid >= MAX_PLAYERS || s_IsDying[playerid]) {
      return 0;
   }

   if (X == 0.0 && Y == 0.0 && Z == 0.0) {
      s_LastStop[playerid] = GetTickCount();
   }

   return SetPlayerVelocity(playerid, X, Y, Z);
}[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):

Slika/video ingame problema(obavezno ako je ingame problem): //