streamer error please help! - 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 error please help! (
/showthread.php?tid=510878)
streamer error please help! -
Slicebook - 02.05.2014
Код:
D:\Mбtй kйpei\SeeRPG\pawno\include\streamer.inc(487) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
D:\Mбtй kйpei\SeeRPG\pawno\include\streamer.inc(489) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER_OBJECT"
Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) <<ERROR
{
if (hittype == BULLET_HIT_TYPE_PLAYER_OBJECT)<<ERROR
{
Streamer_CallbackHook(STREAMER_OPWS, playerid, weaponid, hittype, hitid, fX, fY, fZ);
}
how to fix?? help
AW: streamer error please help! -
rospar - 02.05.2014
update the streamer to 2.7.1
look at you server_log there should be a warning
Re: streamer error please help! -
RenSoprano - 02.05.2014
So as I see that you have 2 callbacks called "OnPlayerShout" and for your second error you need to define all bullet types