Errori u weapon-config!


Započeo ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ, April 11, 2020, 20:28:16 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem (error/warning): Ubacio sam weapon-config i SKY za Damage Informer... Dodao sam ispod a_sampa sto je potrebno, ubacio sve lepo SKY i weapon-config ali mi izlaze sledeci errori:
Dio skripte: Sta sam dodavao ispod a_sampa:
#include <weapon-config>
#include <SKY>
#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);
#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);
#endif


Errori:
C:\Users\buste\Desktop\Digression RolePlay\Server\Digression OGC 2020 by Buster\pawno\include\weapon-config.inc(2218) : error 029: invalid expression, assumed zero
C:\Users\buste\Desktop\Digression RolePlay\Server\Digression OGC 2020 by Buster\pawno\include\weapon-config.inc(2218) : warning 215: expression has no effect
C:\Users\buste\Desktop\Digression RolePlay\Server\Digression OGC 2020 by Buster\pawno\include\weapon-config.inc(2218) : error 001: expected token: ";", but found ")"
C:\Users\buste\Desktop\Digression RolePlay\Server\Digression OGC 2020 by Buster\pawno\include\weapon-config.inc(2218) : error 029: invalid expression, assumed zero
C:\Users\buste\Desktop\Digression RolePlay\Server\Digression OGC 2020 by Buster\pawno\include\weapon-config.inc(2218) : fatal error 107: too many error messages on one line

Debug iz server_log (ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema (obavezno ako je ingame problem): //
Founder of
Digression Community

daj tu liniju u inc-u i imas tut detaljan u mom opisu ispod za weapon-config

Citat: Emmett poslato April 11, 2020, 20:35:50 POSLE PODNE
daj tu liniju u inc-u i imas tut detaljan u mom opisu ispod za weapon-config
Sad cu bas da vidim taj tutorijal, a za ovamo: dzabe ti dajem tu liniju, ja fixam tu liniju, onda se pojavi taj error tamo negde opet, aj sad cu da vidim bas taj tutorijal.
Ali ja mislim da kad sam prebacio ono OnPlayerTake i OnPlayerGive samo u OnPlayerDamage da sam skroz sjebo stvari, udjem IG pucam se sa likom ne skida mu se niti HP niti armor, al sad cu lepo da pokusam opet sa ovim tvojim tutorijalom. Hvala!  :)
Founder of
Digression Community

Evo linija gde izbacuje error:
   FreezeSyncPacket(playerid, .toggle = false);
Founder of
Digression Community

Skini najnoviju verziju sky includea

Citat: .agency poslato April 11, 2020, 22:57:51 POSLE PODNE
Skini najnoviju verziju sky includea
Ja bas SKY nigde nisam mogao po netu zadnju verziju da nadjem... Nego iz moda uzeo... Vrv je zbog toga. :)
Inace ovo je ono tvoje. :D
Imas mozda SKY zadnju verziju?
Founder of
Digression Community

Citat: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato April 11, 2020, 23:03:56 POSLE PODNE
Ja bas SKY nigde nisam mogao po netu zadnju verziju da nadjem... Nego iz moda uzeo... Vrv je zbog toga. :)
Inace ovo je ono tvoje. :D
Imas mozda SKY zadnju verziju?
Evo ti include, imam i dll verziju al .so nemam, tako da se za so moras snaci, ako ti treba dll pisi https://gofile.io/?c=VMVQBe

Citat: .agency poslato April 11, 2020, 23:14:39 POSLE PODNE
Evo ti include, imam i dll verziju al .so nemam, tako da se za so moras snaci, ako ti treba dll pisi https://gofile.io/?c=VMVQBe
Hvala brate, fixano! <3  8)
Founder of
Digression Community