Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Nure poslato Mart 22, 2018, 18:49:28 POSLE PODNE

Naslov: error 025: function heading differs from prototype
Poruka od: Nure poslato Mart 22, 2018, 18:49:28 POSLE PODNE
Problem(error/warning): Oba
Dio skripte: [ pawn ]Anticit[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]Joq[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): //
[pawn]\pawn\include\nex-ac.inc(3149) : error 025: function heading differs from prototype
\pawn\include\nex-ac.inc(3170) : warning 202: number of arguments does not match definition
\pawn\include\nex-ac.inc(3184) : error 025: function heading differs from prototype
\pawn\include\nex-ac.inc(5860) : warning 202: number of arguments does not match definition
\pawn\include\nex-ac.inc(5874) : error 025: function heading differs from prototype[/pawn]
[pawn]#if !defined _inc_y_hooks && !defined _INC_y_hooks
   #if defined _ALS_OnPlayerTakeDamage
      #undef OnPlayerTakeDamage
   #else
      #define _ALS_OnPlayerTakeDamage
   #endif
   #define OnPlayerTakeDamage ac_OnPlayerTakeDamage
   #if defined ac_OnPlayerTakeDamage
      forward ac_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart); //ovo je error 3149
   #endif[/pawn]
[pawn]#if !defined _inc_y_hooks && !defined _INC_y_hooks
   #if defined _ALS_OnPlayerGiveDamage
      #undef OnPlayerGiveDamage
   #else
      #define _ALS_OnPlayerGiveDamage
   #endif
   #define OnPlayerGiveDamage ac_OnPlayerGiveDamage
   #if defined ac_OnPlayerGiveDamage
      forward ac_OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart); // ovo je error 3184
   #endif[/pawn]
[pawn]#if !defined _inc_y_hooks && !defined _INC_y_hooks
   #if defined _ALS_OnVehicleDeath
      #undef OnVehicleDeath
   #else
      #define _ALS_OnVehicleDeath
   #endif
   #define OnVehicleDeath ac_OnVehicleDeath
   #if defined ac_OnVehicleDeath
      forward ac_OnVehicleDeath(vehicleid, killerid); /ovde je error 5874
   #endif[/pawn]
Naslov: Odg: error 025: function heading differs from prototype
Poruka od: PeroviC poslato Mart 22, 2018, 18:52:57 POSLE PODNE
Skripta ne moze da ti protumaci funkcije, moras da stavis (public, function..) kao sto ti je forward!
Naslov: Odg: error 025: function heading differs from prototype
Poruka od: Nure poslato Mart 22, 2018, 20:28:13 POSLE PODNE
Aham,a jel imas ti neki anti cit za LK/NK/SA mod,a da nije NEX-ac a da je dobar ? Ili iz nekog moda da izvucem?
Naslov: Odg: error 025: function heading differs from prototype
Poruka od: PeroviC poslato Mart 22, 2018, 20:35:09 POSLE PODNE
Jedino mogu da ti preporucim JunkBuster AC
Naslov: Odg: error 025: function heading differs from prototype
Poruka od: Nure poslato Mart 22, 2018, 20:42:08 POSLE PODNE
Neki kazu da je malo ubagovan,jel ima AirBreak?
Naslov: Odg: error 025: function heading differs from prototype
Poruka od: Łuk@ poslato Mart 22, 2018, 20:51:41 POSLE PODNE
pravila