Is that scriptable with pawn? - 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: Is that scriptable with pawn? (
/showthread.php?tid=225512)
Is that scriptable with pawn? -
XoX - 13.02.2011
I saw a cool script for MTA. It will add a magnet to the Leviathan.
http://community.mtasa.com/index.php...details&id=588
So my question is if that could work on samp and if it does how to do?
Re: Is that scriptable with pawn? -
Mean - 13.02.2011
Sure it's possible, attach an object to the vehicle, but it's hardly scriptable.
Re: Is that scriptable with pawn? -
XoX - 13.02.2011
Is there an invisible Object i could use?
Re: Is that scriptable with pawn? -
park4bmx - 13.02.2011
well i know what im doing tomorrow then

im going make a script something like this AND probably put it on the forum.
Re: Is that scriptable with pawn? -
Mean - 13.02.2011
Quote:
Originally Posted by park4bmx
well i know what im doing tomorrow then 
im going make a script something like this AND probably put it on the forum.
|
I would be greatful if you do it...
Re: Is that scriptable with pawn? -
XoX - 14.02.2011
I'm also working on it now *lolz*
Re: Is that scriptable with pawn? -
pantelimonfl - 14.02.2011
You can attach the magnet to the heli, and then o the closest car i think..
Re: Is that scriptable with pawn? -
XoX - 14.02.2011
Nope doesn't work.
Attaching the magnet to the heli works perfectly
/imageshack/img716/6152/heli1.png
But attaching to both car and heli seems not to work
it will cause that:
/imageshack/img689/1789/heli2d.png
Re: Is that scriptable with pawn? - [03]Garsino - 14.02.2011
Quote:
Originally Posted by XoX
|
You need to run a timer to update the position of the vehicle all the time.
Re: Is that scriptable with pawn? -
XoX - 14.02.2011
@Ricop522 lmao on that one
@[03]Garsino i thought about updating the the object position of the magnet with the coords of the helicopter so i can also use MoveObject to move the magnet up and down (didn't work when using AttachObjectToVehicle).
Other question. I don't think theres a method to detect a empty car without a variable is it?