streamer error please help!
#1

Код:
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
Reply
#2

update the streamer to 2.7.1
look at you server_log there should be a warning
Reply
#3

So as I see that you have 2 callbacks called "OnPlayerShout" and for your second error you need to define all bullet types
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)