Attach a Player to.... - 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: Attach a Player to.... (
/showthread.php?tid=74511)
Attach a Player to.... -
Trooper[Y] - 23.04.2009
(How) Can i attach a Player to....
1. an object
2. another player
3.Vehicle
I just need one of it , so please,please help me, i don`t know it and want to make a new script for everyone, and if you help me,i will release it...
Trooper
Re: Attach a Player to.... -
SpiderPork - 23.04.2009
1. an object
// AttachObjectToPlayer
2. another player
// You can't with a native function. Only if you create a function by yourself.
3. Vehicle
// Same like the above ^^
Re: Attach a Player to.... -
ICECOLDKILLAK8 - 23.04.2009
Set a timer that gets the vehicles/players/objects position and keep consantly setting the players position,
Spiderpork he wants to attach a player to an object, Not vice versa
Re: Attach a Player to.... -
Trooper[Y] - 23.04.2009
I mean,if the Player is flying in a Maverick,its really hard to always save the positions
How can i unattach an Objekt from a Player ?
Re: Attach a Player to.... -
SpiderPork - 23.04.2009
Quote:
Originally Posted by Trooper[Y
]
How can i unattach an Objekt from a Player ?
|
Get it's position, delete it and then recreate at the position you destroyed it.
Re: Attach a Player to.... -
Trooper[Y] - 23.04.2009
And what is AttachPlayerObjectToPlayer for ?
Re: Attach a Player to.... -
SpiderPork - 23.04.2009
Player object means that only a player sees the object. So if you use this function, it will attach an object to a player, but only he will see it, others won't.
Re: Attach a Player to.... -
Trooper[Y] - 23.04.2009
Ok,thank you....
Hmmm, so what`ll happen if i set the SetPlayerPos directly into a Maverick ?
Re: Attach a Player to.... -
SpiderPork - 23.04.2009
It'll set the player's pos in the maverick.
Re: Attach a Player to.... -
Trooper[Y] - 23.04.2009
I mean,would he be able to rest there ?
Or fall down?
Or get into the Chopterrotors ?
Or stuck there with fall animation ?