Create an object

Abraham20

Active member
Joined
Mar 23, 2016
Messages
65
Reaction score
1
Hello,
how can I create an object?
Object.Create? What more?
 
Joined
Feb 18, 2005
Messages
2,964
Reaction score
269
If it's not a common model also use

Code:
0247: load_model #AD_FLATDOOR 
038B: load_requested_models
 

Abraham20

Active member
Joined
Mar 23, 2016
Messages
65
Reaction score
1
And if I want to create a Auto Gate R? (Where are the object ids?)
 
Joined
Feb 18, 2005
Messages
2,964
Reaction score
269
Search here : http://dev.prineside.com/en/gtasa_samp_model_id/search/?q=gate
 

Abraham20

Active member
Joined
Mar 23, 2016
Messages
65
Reaction score
1
I want this object: http://dev.prineside.com/en/gtasa_samp_model_id/model/971-subwaygate/

How can I create this by a cleo?
 

Abraham20

Active member
Joined
Mar 23, 2016
Messages
65
Reaction score
1
Ok; I understood:

0107: $2706 = create_object 971 at 1833.36 -1995.45 12.5

But I want not to create the object in a specific place but I want to point with a weapon the object and place it with the leftside of the mouse.

How can I do this?
 
Joined
Feb 18, 2005
Messages
2,964
Reaction score
269
Use
Code:
069B: attach_object 88@ to_actor 38@ with_offset 0.0 0.5 -1.0 rotation 0.0 0.0 0.0
 

Abraham20

Active member
Joined
Mar 23, 2016
Messages
65
Reaction score
1
When I click in compile + copy ... why is the data .scm and not .cs?
 
Joined
Feb 18, 2005
Messages
2,964
Reaction score
269
Cause you need to instruct SB to compile it as a cleo script, make sure the first line is {$CLEO}
 
Top