Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
On 0.3x use:
building1 = CreateDynamicObject(11340, -2079.95, 159.20, 30.87, 0.00, 0.00, 0.00);
or with parameters
building1 = CreateDynamicObject(11340, -2079.95, 159.20, 30.87, 0.00, 0.00, 0.00,-1,-1,-1,300.0);
Or on 0.3z
building1 = CreateDynamicObject(11340, -2079.95, 159.20, 30.87, 0.00, 0.00, 0.00,-1,-1,-1,300.0,300.0);
as on 0.3z plugin you can set object stream and object draw distance
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
This is a very common problem but at least there is more than one solution. I would prefer to use the function method over CreateDynamicObjectEx() usually because the extended parameters are not required and if I need to change vw, playerid, int the CreateDynamicObject() method is all I would need in almost any case.
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
Does it work with CreateObject ?