SA-MP Forums Archive
RCON - Add some features - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: RCON - Add some features (/showthread.php?tid=74234)



RCON - Add some features - Striker_Moe - 20.04.2009

Hey guys,

i setted up a nice test 8-slot server and installed a nice CopsnRobbers-Gameplay.

Now i want some additional features for it:

Slapping people
Spectating people
Teleport characters around


Is that able somehow? Can someone help me? Please, keep it easy, im a total noob. xD


Re: RCON - Add some features - (.Aztec); - 20.04.2009

Slapping people is an easy to script command, just grab their x,y,z coordinates and set them higher, you can also mod this to do whatever you wish.

Spectating people is also an easy to script command, just find their position, and set the admins camera to them, and have it follow them.

Teleporting is very easy, SetPlayerPos is a very handy function to know.


Re: RCON - Add some features - Dylan_Madigan - 20.04.2009

umm, hes a noob like i almost arn't, try ******* or the tutorials on this website. ☺


Re: RCON - Add some features - (.Aztec); - 20.04.2009

I actually recommend SA:MP wiki..

www.wiki.sa-mp.com


Re: RCON - Add some features - Striker_Moe - 21.04.2009

Hey,

i managed to set up a nice little server now, which can be seen here: http://forum.sa-mp.com/index.php?topic=99056.0

When you get /killed, you can spectate your killer. Is it able to do this as a admin without getting killed too? And secondly, i need the function to turn invisible, admins only of course, because i want to spectate people without getting shot the whole time.

Can someone take a look at my server?


Re: RCON - Add some features - HB - 21.04.2009

Search the wiki for "Spectate" functions, there are a couple.