Plese help AttachObjectToVehicle
#1

Hello guys, please help with "AttachObjctToVehicle", I have object coordinates on the car, but I don't know, how to make object on the car.

I want to do:



Light coordinates is: "AttachObjectToVehicle(objectid, vehicleid, 0.000000, 0.199999, 1.099999, 0.000000, 0.000000, 0.000000);"

Vehicle ID is: 490

Object ID is: 19420


Please help me do it.


Sorry for spelling
Reply
#2

Go to your script, see where the vehicle is spawned, and put that code under it.
Reply
#3

How write? You can write this script? Please.
Reply
#4

look here HERE
Reply
#5

How make it no command?
Reply
#6

i think go to your fs or gamemode script and go to OnPlayerEnterVehicle and edit only the object or make it command but i fell slipy so i can't do it right now to make it for the police vehicles or other
Reply
#7

if you want to make it a command make it for a rcon or head admin
Reply
#8

Can you write full script code? And I add this script to "OnGameModeInit" callback.
Reply
#9

tell me what is the id of the car you want to have sirens
Reply
#10

Vehicle ID is: 490
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)