How do I make an Object Editor script? - 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: How do I make an Object Editor script? (
/showthread.php?tid=457691)
How do I make an Object Editor script? -
Joeyboy99 - 12.08.2013
I have been looking online and I can't find any good object editor filterscripts/gamemodes. All I want it to do is:
/newobject (OBJECT ID) - To spawn the object in front of you (As ID 0)
/object (ID) - To Edit the object
I want it to be the default SAMP edit that was added in 0.3e (The X Y Z move and Rotation
https://sampwiki.blast.hk/wroot/images2/...tingObject.png )
The objects don't have to save to the script I just want to be able to see the PAWN code for them E.g CreateObject(1337, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
If someone can help me with this or knows an existing one that works, preferably a Filterscript or Code (Not a Gamemode) then I would be very grateful.
Thanks, Joe.
Re: How do I make an Object Editor script? -
Max5 - 12.08.2013
Like this?
https://sampforum.blast.hk/showthread.php?tid=384195
Re : How do I make an Object Editor script? -
Naruto_Emilio - 12.08.2013
First of all, you need 4 includes, sscanf2, zcmd for the command processor, streamer for streaming the objects, and y_ini for saving the stats, now when you got all these, declare them in your script, and then use an enum with objectid, then pos x y z and rotations of the objects, after that make the objects saves copy that from an already done release, then use the command with sscanf to create an object with modelid x y z rotations and world, after that you're done:!
Re: How do I make an Object Editor script? -
Smxe - 12.08.2013
I have found multiple for you
(1 click me)
(2 click me)
My ****** search:
(click me)
Re: How do I make an Object Editor script? -
Joeyboy99 - 13.08.2013
Quote:
Originally Posted by Max5
|
Thanks! This is the best one I have used the others don't seem to be as good.