Help appreciated - 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 appreciated (
/showthread.php?tid=78748)
Help appreciated -
Marclang - 22.05.2009
Hey,
I was wondering if anyone could tell me what to do in order to /spec someone, and allowing the camera to rotate and when you do /spec off it DOESNT kill you but returns you to the exact place where you /spec'd the specified player.
Also,
How do I set it so the bullets are unlimited?
And how do I add a jetpack to the /givegun list,
ie: /givegun marc_ 21
Help is appreciated!
Re: Help appreciated -
Weirdosport - 22.05.2009
Well in your filterscripts folder you may find a script called "adminspec". This is a very basic spec system, in which you can /spec <id> and /specoff when you finish. You'd need to modify it to restore your position, but using a Float Array this should not be too much work.
To give someone a jetpack, you need to use SetPlayerSpecialAction, also on the wiki. I'm not sure about infinity ammo, but I think if you give the player either 0 ammo or alot it becomes infinite, I'll have to check this..
Re: Help appreciated -
Marclang - 23.05.2009
Anything else you can suggest?