SA-MP Forums Archive
Attach Pickup To Object - 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 Pickup To Object (/showthread.php?tid=64470)



Attach Pickup To Object - wordas - 04.02.2009

Is it posible to attach a pickup to an object like if object moves the pickup stays on the object


Re: Attach Pickup To Object - Streetplaya - 04.02.2009

No.


Re: Attach Pickup To Object - maij - 04.02.2009

no, you cant attach it, but what you could do is creating a repeating timer setting the pickup's coords to the object's coords:

though its a small code i dont recomment it in a large gamemode script




Re: Attach Pickup To Object - Streetplaya - 05.02.2009

Quote:
Originally Posted by maij
no, you cant attach it, but what you could do is creating a repeating timer setting the pickup's coords to the object's coords:

though its a small code i dont recomment it in a large gamemode script

It doesnt make any improvements when youre putting it into another script, or the gamemode.