SA-MP Forums Archive
[FilterScript] Spectate System - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Spectate System (/showthread.php?tid=169961)



Spectate System - Nonameman - 21.08.2010

Hey all! I made this FS for a guy to help him, and now I wanna release it as my first FS.

How is it works?

Button 2 -> Spectating On/Off
Num 4 -> Spectate the previous online player
Num 6 -> Spectate the next online player

Bugs

No bugs now, I did some bug fixes:
Код:
- Spectate prev/next functions now jump to the next valid playerid correctly
- When the spectated player gets into a vehicle, or leaves it, the camera jumps to the vehicle/player
Download

v1.0
http://pastebin.com/J88wrpKz


Re: Spectate System - nuriel8833 - 21.08.2010

Simple but Nice =)


Re: Spectate System - Nonameman - 21.08.2010

Thanks


Re: Spectate System - HyperZ - 21.08.2010

Nice Work !


Re: Spectate System - playbox12 - 21.08.2010

You followed my advice, nice!

Good job man, keep it up!


Re: Spectate System - Nonameman - 21.08.2010

Quote:
Originally Posted by playbox12
Посмотреть сообщение
You followed my advice, nice!

Good job man, keep it up!
Yep, thanks for the advise and for the comments


Re: Spectate System - Scenario - 21.08.2010

Quite easy to create, but nice work!


Re: Spectate System - rbN. - 21.08.2010

Got an question.. It's not really related to this script, but more to the spectating function..

Well, if you do PutPlayerInVehicle, do you also get like a messed up view? As example, the on foot screen with the vehicle screen (so the camera is very close to the bike, and that you barely can't see the person)..


Re: Spectate System - gamer931215 - 21.08.2010

Quote:
Originally Posted by RobinOwnz
Посмотреть сообщение
Got an question.. It's not really related to this script, but more to the spectating function..

Well, if you do PutPlayerInVehicle, do you also get like a messed up view? As example, the on foot screen with the vehicle screen (so the camera is very close to the bike, and that you barely can't see the person)..
Yep, anyways this can be fixed by putting an small timer which checks if an player is in the vehicle, then put the camera on the vehicle, and vice versa but i think he forgot about that

But looking good dude try to fix that car issue

(Anyways this is also perfect for as killcam, on a deathmatch server when a player is dead turning this on, so he can spectate his teammembers as example)


Re: Spectate System - Hal - 22.08.2010

wow, thanks. i will def. incorporate this into my script