Weapon-Config pomoc


Započeo Zarko55, April 08, 2020, 15:05:47 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

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): //

Pošalji nam stringove na "6084", jer ti ovako ne možemo pomoći. :)
Jedina prava mudrost je
znati da ne znate ništa.



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

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

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