[HELP]AttachObjectToVehicle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]AttachObjectToVehicle (
/showthread.php?tid=205480)
[HELP]AttachObjectToVehicle -
buzifej - 01.01.2011
/imageshack/i/kosar.png/
please correct code
AttachObjectToVehicle(?);
Re: [HELP]AttachObjectToVehicle -
Alex_Valde - 01.01.2011
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
Re: [HELP]AttachObjectToVehicle -
_rAped - 01.01.2011
What the fuck are you talking about?
Re: [HELP]AttachObjectToVehicle -
HyperZ - 01.01.2011
Quote:
Originally Posted by _rAped
What the fuck are you talking about?
|
Chill dude chill.
Re: [HELP]AttachObjectToVehicle -
buzifej - 01.01.2011
I want to enter the code
Re: [HELP]AttachObjectToVehicle -
06leachr - 01.01.2011
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)