[HELP] toggleplayerspectating
#1

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
Reply
#2

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.
Reply
#3

that works thanks know just one question how can I enable hud mode or map when is player in toggpleplayerspectating? Thanks
Reply
#4

anyone? Thanks
Reply
#5

You can't.
Reply
#6

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
Reply
#7

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.
Reply
#8

how you mean spawn then like setspawn info or?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)