16.06.2015, 09:26
(
Последний раз редактировалось SpaceX; 16.06.2015 в 09:31.
Причина: minor typos
)
Use CreateObject instead of CreateDynamicObject in your code you posted.
Read: AttachObjectToVehicle and refer GameObjectIDList
Quoting:
Also,
I would recommend using switch-case instead of if-else.
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.
|
I would recommend using switch-case instead of if-else.