[HELP] toggleplayerspectating - 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)
+--- Thread: [HELP] toggleplayerspectating (
/showthread.php?tid=491489)
[HELP] toggleplayerspectating -
Luca12 - 30.01.2014
Hello I was make a rp tutorial on start and on the start I was put toggleplayerspectating(i,1); everything was fine during tutorial , and know on the end tutorial I was put the same just instead of 1 I put 0 and know when I was on the end tutorial I must be spawned on ls airport but instead of that it says server closed the connection? Please help. Thanks
Re: [HELP] toggleplayerspectating -
MP2 - 31.01.2014
Make sure you have classes added with AddPlayerClass and/or use SetSpawnInfo before toggling spectating off. If you bypass class selection, you need to use SetSpawnInfo, as they haven't selected a class.
Re: [HELP] toggleplayerspectating -
Luca12 - 31.01.2014
that works thanks know just one question how can I enable hud mode or map when is player in toggpleplayerspectating? Thanks
Re: [HELP] toggleplayerspectating -
Luca12 - 31.01.2014
anyone? Thanks
Re: [HELP] toggleplayerspectating -
MP2 - 31.01.2014
You can't.
Re: [HELP] toggleplayerspectating -
Luca12 - 31.01.2014
is there another way this is for tutorial rp when it show to player text and some position I want remove in the down there that spawn button and << >> and show to player the hud I mean map beacuse I use this toggleplayerspectating but it doesn't show map
Re: [HELP] toggleplayerspectating -
Hoborific - 31.01.2014
Spawn them and then freeze them for the tutorial? You will have to set their camera every time but I think you already are anyway.
Re: [HELP] toggleplayerspectating -
Luca12 - 31.01.2014
how you mean spawn then like setspawn info or?