OnPlayerShootDynamicObject
#1

How i can remove a dynamicobject by a bullet using OnPlayerWeaponShoot and OnPlayerShootDynamicObject?
Reply
#2

Something like this?

Code:
public OnPlayerShootDynamicObject(playerid, weaponid, STREAMER_TAG_OBJECT objectid, Float:x, Float:y, Float:z)
{
   DestroyDynamicObject(objectid);
   return 1;
}
Reply
#3

I try it, don't work..
Wait, i used BULLET_HIT_TYPE_OBJECT.
Wait... And Streamer doesn't exist.
Reply
#4

Quote:
Originally Posted by LaLy17
View Post
I try it, don't work..
Wait, i used BULLET_HIT_TYPE_OBJECT.
Wait... And Streamer doesn't exist.
What do you mean by that?
Reply
#5

I didn't speak really good english...
What he say: STREAMER_TAG_OBJECT isn't in SAMP.WIKI. Is just Bullet_Hit_Type_Object.
Reply
#6

OnPlayerShootDynamicObject is part of the streamer plugin.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)