SA-MP Forums Archive
Tree - 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: Tree (/showthread.php?tid=538595)



Tree - AdelS - 22.09.2014

How can I set tree health,and that I can cut him.When I cut him that he falls? Sorry for by bad English.


Re: Tree - ranme15 - 22.09.2014

CreateObject -> OnPlayerWeaponShot (hittype object) -> Cutted (SetObjectRot(90.0, 0, 0).


Re: Tree - AdelS - 22.09.2014

Can you explain,please?


Re: Tree - dusk - 22.09.2014

Quote:
Originally Posted by ranme15
Посмотреть сообщение
CreateObject -> OnPlayerWeaponShot (hittype object) -> Cutted (SetObjectRot(90.0, 0, 0).
Only if you "cut" it with ceratin weapons. Weapons that shoot bullets to be exact. So a thing like a spade won't work.


My suggestion: