Jump to content

Help with custom object in EDF


xLive

Recommended Posts

  • Scripting Moderators

Hi,
 i'm trying to do something with the EDF,
I want to add spawn points and custom object the spawn points works fine but custom_object nothing happened
when I double click on the object so i can't edit the properties,

What is wrong?
 

<def name="test">
    <element name="spawnpoint" friendlyname="Spawnpoint 1" icon="edf/spawnpoint.png">
        <data name="position" type="coord3d" default="0,0,0" />
        <data name="rotation" type="coord3d" default="0,0,0" />
        <ped model="1" position="!position!" rotation="!rotation!" />
    </element>
	<element name="spawnpoint2" friendlyname="Spawnpoint 2" icon="edf/spawnpoint.png">
        <data name="position" type="coord3d" default="0,0,0" />
        <data name="rotation" type="coord3d" default="0,0,0" />
        <ped model="0" position="!position!" rotation="!rotation!" />
    </element>
    <element name="custom_object" friendlyname="Custom Object" icon="edf/object.png">
        <data name="model" type="objectID" default="1271" />
        <data name="position" type="coord3d" default="0,0,0" />
        <data name="rotation" type="coord3d" default="0,0,0" />
        <object model="!model!" position="!position!" rotation="!rotation!" />
    </element>
</def>

 

Edited by Live
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...