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



skycrane magnet - kev375 - 11.10.2009

Hi there ! I wanna know how to put a skycrane magnet for the leviathan ? I tried AttachObjectToPlayer(3053,playerid,0.0,0.0,-0.5,0,0,0); when a player enter in the vehicleid : 417 ... But doesn't work .... Help me plz


Re: skycrane magnet - MPKaboose - 11.10.2009

Quote:
Originally Posted by wade_heston
Hi there ! I wanna know how to put a skycrane magnet for the leviathan ? I tried AttachObjectToPlayer(3053,playerid,0.0,0.0,-0.5,0,0,0); when a player enter in the vehicleid : 417 ... But doesn't work .... Help me plz
pawn Код:
new object = CreateObject(...);
AttachObjectToPlayer(object,playerid,0.0,0.0,-0.5,0,0,0);
that will work


Re: skycrane magnet - kev375 - 11.10.2009

thank you


Re: skycrane magnet - MPKaboose - 11.10.2009

you're welcome