How do I make an Object Editor script?
#1

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.
Reply
#2

Like this?

https://sampforum.blast.hk/showthread.php?tid=384195
Reply
#3

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:!
Reply
#4

I have found multiple for you
(1 click me)
(2 click me)

My ****** search: (click me)
Reply
#5

Quote:
Originally Posted by Max5
Посмотреть сообщение
Thanks! This is the best one I have used the others don't seem to be as good.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)