Posts: 104
Threads: 28
Joined: Jul 2013
Why sometimes, after I create a vehicle with CreateVehicle, the vehicle spawns under my object (created with CreateDynamicObject) ... The vehicle doesn't recieve the object fast enough, or what? ... I think the vehicle have "lag" and sometimes spawns udner ... any solutions?
Posts: 52
Threads: 9
Joined: Jan 2012
Reputation:
0
Try to set Z coordinate +1 or +2 on vehicles, If there is not huge lagg, it will help.
Posts: 115
Threads: 4
Joined: Nov 2012
Reputation:
0
i'll explain :
CreateDynamicObject is for streamer,
when you use it, it's not like CreateObject, it's create the object slower than CreateObject, so there is a laps of time (1-2 seconds) to spawn,
CreateVehicle spawn your vehicle instantenly, so the MAP spend MORE time to Spawn than the VEHICLE
Posts: 983
Threads: 98
Joined: Feb 2012
Reputation:
0
I suggest setting the floor only in the map as CreateObject and the rest is CreateDynamicObject, and it will do the job I guess.
Posts: 115
Threads: 4
Joined: Nov 2012
Reputation:
0
yeah, but it's longer than putting vйhicles Z position +2 , he have to search the floor object x)
Posts: 52
Threads: 9
Joined: Jan 2012
Reputation:
0
I don't think so you can use both. As I remember you can use just CreateObject or just CreateDynamicObject, but maybe I am wrong.
Posts: 104
Threads: 28
Joined: Jul 2013
Any official answer from SA-MP Team please ? ... I want more explications