OnPlayerWeaponShot and dynamic objects
#1

Looks like OnPlayerWeaponShot callback doesn't return right hitid or hittype while shooting to dynamic object...? If yes, so how to fix this problem?
Reply
#2

It's not a problem actually, the streamer plugin has its own callback:
pawn Код:
forward OnPlayerShootDynamicObject(playerid, weaponid, objectid, Float:x, Float:y, Float:z);
Reply
#3

As dusk stated, the streamer plug-in has a callback matching the callback, although I can't confirm returning 0 has the same effect as OnPlayerWeaponShot(causing the bullet data to not send).
Reply
#4

Thank you!
Reply
#5

No problem, glad to help. If you need anything else, feel free to ask!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)