SA-MP Forums Archive
Streamer problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Streamer problem (/showthread.php?tid=491819)



Streamer problem - mirou123 - 01.02.2014

Yesterday my server was working fine then it restarted and the gamemode is now unkown when I restarted it,it was showing an error when loading the streamer so I updated it to the latest version with 0.3z updates and I added the include to my pwno and now when I try to compile the script it shows this error

Код:
C:\Users\Halloul\Desktop\SAMP scripts\FuseGaming\pawno\include\streamer.inc(487) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
C:\Users\Halloul\Desktop\SAMP scripts\FuseGaming\pawno\include\streamer.inc(489) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER_OBJECT"
C:\Users\Halloul\Desktop\SAMP scripts\FuseGaming\pawno\include\streamer.inc(501) : error 025: function heading differs from prototype
I already have these in my code

Код:
#define BULLET_HIT_TYPE_NONE            0
#define BULLET_HIT_TYPE_PLAYER          1
#define BULLET_HIT_TYPE_VEHICLE         2
#define BULLET_HIT_TYPE_OBJECT          3
#define BULLET_HIT_TYPE_PLAYER_OBJECT   4
Код:
forward OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:bX, Float:bY, Float:bZ);



Re: Streamer problem - Cole_William - 05.02.2014

Same issue.