attatch object to vehicle
#4

You'll have to define what vehicle IDs get what object and on what location:
( Wiki post: https://sampwiki.blast.hk/wiki/GetPlayerVehicleID )
Код:
(objectid, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ)
For your code, noting that the bullet has to be vehicle ID 1:
PHP код:
AttachObjectToVehicle(objectidvehicleid0.034999, -0.3799940.5199990.0000000.0000000.000000); //Object Model: 19419 | 
objectid should be 19419 ( I believe, as I can see from your post )
vehicleid should be 1 ( or whatever the ID of the vehicle is )

PHP код:
AttachObjectToVehicle(1941910.034999, -0.3799940.5199990.0000000.0000000.000000); //Object Model: 19419 | 
Reply


Messages In This Thread
attatch object to vehicle - by Nightmares - 11.01.2016, 23:34
Re: attatch object to vehicle help =1REP - by lucamsx - 12.01.2016, 00:12
Re: attatch object to vehicle help =1REP - by Nightmares - 12.01.2016, 01:12
Re: attatch object to vehicle help =1REP - by SaltySandy - 12.01.2016, 12:47
Re: attatch object to vehicle help =1REP - by lucamsx - 12.01.2016, 14:20
Re: attatch object to vehicle help =1REP - by AbyssMorgan - 12.01.2016, 14:40
Re: attatch object to vehicle help =1REP - by SaltySandy - 12.01.2016, 19:54
Re: attatch object to vehicle help =1REP - by Nightmares - 13.01.2016, 02:17

Forum Jump:


Users browsing this thread: 3 Guest(s)