Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato April 11, 2020, 20:28:16 POSLE PODNE

Naslov: Errori u weapon-config!
Poruka od: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato April 11, 2020, 20:28:16 POSLE PODNE
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: [pawn]#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[/pawn]

Errori:
[pawn]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[/pawn]
Debug iz server_log (ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema (obavezno ako je ingame problem): //
Naslov: Odg: Errori u weapon-config!
Poruka od: 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
Naslov: Odg: Errori u weapon-config!
Poruka od: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato April 11, 2020, 20:41:36 POSLE PODNE
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!  :)
Naslov: Odg: Errori u weapon-config!
Poruka od: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato April 11, 2020, 20:48:16 POSLE PODNE
Evo linija gde izbacuje error:
   FreezeSyncPacket(playerid, .toggle = false);
Naslov: Odg: Errori u weapon-config!
Poruka od: .agency poslato April 11, 2020, 22:57:51 POSLE PODNE
Skini najnoviju verziju sky includea
Naslov: Odg: Errori u weapon-config!
Poruka od: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato April 11, 2020, 23:03:56 POSLE PODNE
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?
Naslov: Odg: Errori u weapon-config!
Poruka od: .agency poslato April 11, 2020, 23:14:39 POSLE PODNE
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
Naslov: Odg: Errori u weapon-config!
Poruka od: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato April 11, 2020, 23:18:39 POSLE PODNE
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)