SA-MP Forums Archive
Streamer warning ( lol) - 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 warning ( lol) (/showthread.php?tid=513421)



Streamer warning ( lol) - Johnson_Brooks - 16.05.2014

Код:
C:\Users\John\Desktop\CnR\pawno\include\streamer.inc(338) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterCheckpoint")
C:\Users\John\Desktop\CnRr\pawno\include\streamer.inc(357) : warning 201: redefinition of constant/macro (symbol "OnPlayerLeaveCheckpoint")
Why is this happening ? Lol


Re: Streamer warning ( lol) - SAMProductions - 16.05.2014

I think you've defined OnPlayerEnterCheckpoint and OnPlayerLeaveCheckpoint twice, delete each one of them.

EDIT :-
They're already defined somewhere in your script or in streamer.inc and you're trying to re-define them, don't define them if they're already defined.


Re: Streamer warning ( lol) - Johnson_Brooks - 16.05.2014

Updated : I re-downloaded the streamer and this occurs :
Код:
\pawno\include\streamer.inc(487) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
\pawno\include\streamer.inc(489) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER_OBJECT"



Re: Streamer warning ( lol) - Konstantinos - 16.05.2014

The file a_samp.inc you compiled the script with is not for 0.3z version. Update the whole server package and re-compile.