Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Zarko55 poslato April 08, 2020, 15:05:47 POSLE PODNE

Naslov: Weapon-Config pomoc
Poruka od: Zarko55 poslato April 08, 2020, 15:05:47 POSLE PODNE
Problem(error/warning): Radim weapon config i obrisao sam u weapon-config.inc OnPlayerTakeDamage/GiveDamage i dobio sam ove Warrninge
C:\Users\Zarko\Desktop\Master Gaming\pawno\include\weapon-config.inc(6084) : warning 203: symbol is never used: "IsPlayerPaused"
C:\Users\Zarko\Desktop\Master Gaming\pawno\include\weapon-config.inc(6084) : warning 203: symbol is never used: "PosInFront"
C:\Users\Zarko\Desktop\Master Gaming\pawno\include\weapon-config.inc(6084) : warning 203: symbol is never used: "ProcessDamage"
C:\Users\Zarko\Desktop\Master Gaming\pawno\include\weapon-config.inc(6084) : warning 203: symbol is never used: "s_MaxHitRateSamples"
C:\Users\Zarko\Desktop\Master Gaming\pawno\include\weapon-config.inc(6084) : warning 203: symbol is never used: "s_ValidDamageGiven"
C:\Users\Zarko\Desktop\Master Gaming\pawno\include\weapon-config.inc(6084) : warning 203: symbol is never used: "s_ValidDamageTaken"

Dio skripte: //
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): //
Naslov: Odg: Weapon-Config pomoc
Poruka od: DuxMaster poslato April 08, 2020, 15:07:46 POSLE PODNE
Pošalji nam stringove na "6084", jer ti ovako ne možemo pomoći. :)
Naslov: Odg: Weapon-Config pomoc
Poruka od: Zarko55 poslato April 08, 2020, 15:14:18 POSLE PODNE
Uspeo sam da resim bilo je potrebno samo da se doda ovo
[pawn]#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, bodypart);
#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, bodypart);
#endif[/pawn]
Naslov: Odg: Weapon-Config pomoc
Poruka od: Zarko55 poslato April 08, 2020, 15:16:03 POSLE PODNE
Uopste nema potrebe da se brisu OnPlayerGiveDamage  i OnPlayerTakeDamage nego se samo doda ovo u glavnu skriptu ispod
#include <weapon-config >
#include < SKY >

To je jedan lik malopre napisao na prethodnom post-u koji je obrisan jer nisam lepo postavio temu . ako citas ovo hvala ti pomogao si mi !  ;D
Naslov: Odg: Weapon-Config pomoc
Poruka od: Ƭ H Σ Ʋ 1 ∏ ∏ Ψ _ poslato April 08, 2020, 16:56:49 POSLE PODNE
Citat: Zarko55 poslato April 08, 2020, 15:16:03 POSLE PODNE
Uopste nema potrebe da se brisu OnPlayerGiveDamage  i OnPlayerTakeDamage nego se samo doda ovo u glavnu skriptu ispod
#include <weapon-config >
#include < SKY >

To je jedan lik malopre napisao na prethodnom post-u koji je obrisan jer nisam lepo postavio temu . ako citas ovo hvala ti pomogao si mi !  ;D
Ne radi dupli post i ako si resio problem lockaj temu :D