Jump to content

How to add prop (e.g a cone)


Deactivated Member

Recommended Posts

7 hours ago, SRS Bladez said:

I'm trying to spawn road cones into the game, I've got the Vector 3 done for all of them. But I don't know what it's called to spawn it, I've tried prop and object, neither work for me

Try this mate: 

public Rage.Object cone;

Then have a look in OpenIV for the model name for a cone. I might have a look later and if I find anything I'll reply saying what the name is.

 

Once you have the name, try this when all your other peds/vehicles spawn:

 

object = new Rage.Object(Model model, Vector3 position, float heading);

Have a look here for other methods you can use on the object class: https://docs.ragepluginhook.net/

Edited by techgamer15
Link to comment
Share on other sites

16 minutes ago, NoNameSet said:

Thanks that's extremely helpful for a list. @SRS Bladez - have a look at this.

Link to comment
Share on other sites

Place them on the ground? Use menyoos object spooner to mess around with objects and get their coords.

Edited by NoNameSet
Link to comment
Share on other sites

Use SetOnGround on the Rage.Object instance

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...