SA-MP Forums Archive
HOW. - 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: HOW. (/showthread.php?tid=173592)



HOW. - Ricop522 - 03.09.2010

How to add more SetPlayerHoldingObject? the max is one, correct? and how i add more?


Re: HOW. - cessil - 03.09.2010

all your answers are in the wiki https://sampwiki.blast.hk/wiki/SetPlayerHoldingObject


Re: HOW. - ipsBruno - 05.09.2010

Is Functon Of SA-MP 0.3b

Quote:

fOffsetX (optional) X axis offset for the object position.
fOffsetY (optional) Y axis offset for the object position.
fOffsetZ (optional) Z axis offset for the object position.
fRotX (optional) X axis rotation of the object.
fRotY (optional) Y axis rotation of the object.
fRotZ (optional) Z axis rotation of the object.

Is Optional, may
pawn Код:
SetPlayerHoldingObject(playerid, 1609, 2); //Attach a turtle to the playerid's head!
Use StopPlayerHoldingObject and PlayerToPoint for one "Streamer Of Holding of Object " ._.

NOTE:

Only one object may be attached per player.
This function is seperate from the CreateObject / CreatePlayerObject pools.