Help me please ? - 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: Help me please ? (
/showthread.php?tid=103348)
Help me please ? -
nahkur12 - 19.10.2009
Hello. I have a problem, I would like to make such a system in which the user writes an cmd(/box),and the object will move to the user. The best would be if ther would be an anim whit keeps hands in front of the user and then object moves whit user. Is anyone able to help me through this? I would be very grateful. (sorry about bad english)
Re: Help me please ? -
Pghpunkid - 19.10.2009
Couple things your gonna need.
a) Using the object id you have to use
MoveObject (i think thats right) to move it to the playerid that did the command (Use
GetPlayerPos). In order to make it move with use,
AttachObjectToPlayer(once again not sure) will 'lock' it to them.
Re: Help me please ? -
nahkur12 - 20.10.2009
Thanks man.
Re: Help me please ? -
Abernethy - 20.10.2009
Are you trying to make something like when you pickup a television when in a robbery in single player?
Is that what you were refering to?
Re: Help me please ? -
nahkur12 - 20.10.2009
yea...is that possible ?