[HELP]AttachObjectToVehicle
#1

/imageshack/i/kosar.png/

please correct code

AttachObjectToVehicle(?);
Reply
#2

I don't really understand what you want here, but if you want parameters for that function, please look here:

https://sampwiki.blast.hk/wiki/AttachObjectToVehicle
Reply
#3

What the fuck are you talking about?
Reply
#4

Quote:
Originally Posted by _rAped
Посмотреть сообщение
What the fuck are you talking about?
Chill dude chill.
Reply
#5

I want to enter the code
Reply
#6

OK, the parameters are:

pawn Код:
AttachObjectToVehicle(objectid, vehicleid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:RotZ)
Make sure you create it first,

pawn Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ)
So use:


pawn Код:
CreateObject(18694,0.0900, 0.5009, 2.4229, 0, 0, -183.3011)
AttachObjectToVehicle(57, 906, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:RotZ)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)