Weapon-Config pomoc

Započeo Zarko55
pre 5 godina
749
pregleda
5
postova
Zarko55
Street Runner
pre 5 godina
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): //
DuxMaster
Shot Caller
pre 5 godina
Pošalji nam stringove na "6084", jer ti ovako ne možemo pomoći. 🙂
Zarko55
Street Runner
pre 5 godina
Uspeo sam da resim bilo je potrebno samo da se doda ovo
#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
Zarko55
Street Runner
pre 5 godina
Uopste nema potrebe da se brisu OnPlayerGiveDamage  i OnPlayerTakeDamage nego se samo doda ovo u glavnu skriptu ispod
#include
#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 !  😁
Vincenzo_Peruggia
OG Legend
pre 5 godina
Zarko55 wrote on April 8, 2020, 1:16 pm:
Uopste nema potrebe da se brisu OnPlayerGiveDamage  i OnPlayerTakeDamage nego se samo doda ovo u glavnu skriptu ispod
#include
#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 !  😁

Ne radi dupli post i ako si resio problem lockaj temu 😄

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava