BUG in OnPlayerWeaponShot
#1

When shoot on the object why it shows the type 4 ?
And Not Work!
Reply
#2

hittype 4 is BULLET_HIT_TYPE_PLAYER_OBJECT, so that means that you have to use Player-Objects functions for it, not Objects functions.

https://sampwiki.blast.hk/wiki/BulletHitTypes
Reply
#3

I shoot in a simple object but shows 4 hittype!
Reply
#4

Do you use an object streamer?
Reply
#5

Yes, thank you ... I even forgot about it!

CLOSED
Reply
#6

How do you know that you've shoot a normal object and not a player object? I think it's not possible to return value 4 (BULLET_HIT_TYPE_PLAYER_OBJECT) if you didn't shoot any of them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)