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=540215)
Tree -
AdelS - 03.10.2014
I add this when a player cut a tree.
Код:
Oborenodrvo[0] = CreateObject(685, 1306.90942, 55.37020, 20.63990, 0.00000, -86.00000, 18.00000);
The tree sholud be like this.
But
sorry for my bad English.
Re: Tree -
highstreetsrp - 03.10.2014
The land in first picture is slightly straight and in second picture, it is a slope... so maybe making posz a bit higher... might help you.
Re: Tree -
JJack - 03.10.2014
It depends on the land.
Re: Tree -
denNorske - 03.10.2014
SA-MP Editor did sometimes fail on me aswell.
Try to re-create the object in the editor, and double check the Angles of the object. If it keeps appearing like that, i suggest you to try what they said above; increase the Z parameter (the height) or even rotate the object even more. Then test it and see if it works.
AW: Tree -
NaS - 03.10.2014
Trees are not shown like normal objects, because they can move (depending on the weather). I don't know what happens there exactly, but trees almost always screw up when they get rotated on the X or Y axis too much.
You could use some wood object, that would also fit very good, or find some other tree that works.