Weired...Trees attached in place of neons ??
#4

Use CreateObject instead of CreateDynamicObject in your code you posted.

Read: AttachObjectToVehicle and refer GameObjectIDList

Quoting:
Quote:
Originally Posted by SA:MP Wiki
objectid: The ID of the object to attach to the vehicle. Note that this is an object ID, not a model ID. The object must be CreateObject created first.
Also,
I would recommend using switch-case instead of if-else.
Reply


Messages In This Thread
Weired...Trees attached in place of neons ?? - by Adarsh007 - 15.06.2015, 17:43
Re: Weired...Trees attached in place of neons ?? - by kristo - 15.06.2015, 17:54
Re: Weired...Trees attached in place of neons ?? - by Adarsh007 - 16.06.2015, 04:55
Re: Weired...Trees attached in place of neons ?? - by SpaceX - 16.06.2015, 09:26
Re: Weired...Trees attached in place of neons ?? - by Adarsh007 - 16.06.2015, 11:02
Re: Weired...Trees attached in place of neons ?? - by Adarsh007 - 16.06.2015, 17:02
Re: Weired...Trees attached in place of neons ?? - by Adarsh007 - 18.06.2015, 15:14
Re: Weired...Trees attached in place of neons ?? - by Pottus - 18.06.2015, 15:18

Forum Jump:


Users browsing this thread: 2 Guest(s)