Attach dynamic object or player object to vehicle
#1

Is there a way I can attach a dynamic object or a player object to a vehicle?
Thanks in advance!
Reply
#2

AttachDynamicObjectToVehicle and AttachPlayerObjectToVehicle

You need to create an object beforehand (dynamic or player object) and then call one of these functions to attach it.
Reply
#3

Quote:
Originally Posted by NaS
Посмотреть сообщение
AttachDynamicObjectToVehicle and AttachPlayerObjectToVehicle

You need to create an object beforehand (dynamic or player object) and then call one of these functions to attach it.
Thank you! I didn't know about the existance of AttachDynamicObjectToVehicle I couldn't find it on ******. +Rep

Update: It seems I have given too much rep in the past 24 hours Hopefully I remember tomorrow.
Reply
#4

Quote:
Originally Posted by Seifspeed
Посмотреть сообщение
Thank you! I didn't know about the existance of AttachDynamicObjectToVehicle I couldn't find it on ******. +Rep

Update: It seems I have given too much rep in the past 24 hours Hopefully I remember tomorrow.
Next time take a look into a_samp.inc (or the related include, in this case a_objects.inc) and streamer.inc. All the natives are there (use the search in your editor to find what you need).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)