OnPlayerShootDynamicObject - 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: OnPlayerShootDynamicObject (
/showthread.php?tid=599319)
OnPlayerShootDynamicObject -
LaLy17 - 24.01.2016
How i can remove a dynamicobject by a bullet using OnPlayerWeaponShoot and OnPlayerShootDynamicObject?
Re: OnPlayerShootDynamicObject -
MartinSwag - 24.01.2016
Something like this?
Code:
public OnPlayerShootDynamicObject(playerid, weaponid, STREAMER_TAG_OBJECT objectid, Float:x, Float:y, Float:z)
{
DestroyDynamicObject(objectid);
return 1;
}
Re: OnPlayerShootDynamicObject -
LaLy17 - 24.01.2016
I try it, don't work..
Wait, i used BULLET_HIT_TYPE_OBJECT.
Wait... And Streamer doesn't exist.
Re: OnPlayerShootDynamicObject -
SystemX - 24.01.2016
Quote:
Originally Posted by LaLy17
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?
Re: OnPlayerShootDynamicObject -
LaLy17 - 24.01.2016
I didn't speak really good english...
What he say: STREAMER_TAG_OBJECT isn't in SAMP.WIKI. Is just Bullet_Hit_Type_Object.
Re: OnPlayerShootDynamicObject -
MartinSwag - 24.01.2016
OnPlayerShootDynamicObject is part of the streamer plugin.