AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Respawned player can't be specatated? (https://forums.alliedmods.net/showthread.php?t=310678)

xm3kilo 09-15-2018 00:44

Respawned player can't be specatated?
 
Hey guys,

I've noticed sometimes when you respawn someone you cannot spectate them / you are locked to spectating one person.

Does anyone know how to fix this or what is causing it?

Cheers

Neuro Toxin 09-15-2018 08:01

Re: Respawned player can't be specatated?
 
Probably dodgy respawn code.

How are you respawning players?

eyal282 09-16-2018 01:02

Re: Respawned player can't be specatated?
 
Quote:

Originally Posted by xm3kilo (Post 2615273)
Hey guys,

I've noticed sometimes when you respawn someone you cannot spectate them / you are locked to spectating one person.

Does anyone know how to fix this or what is causing it?

Cheers

Game?

xm3kilo 09-16-2018 07:50

Re: Respawned player can't be specatated?
 
Just with CS_RespawnPlayer(client)

And it's for CS:GO. I've seen this on another server too with respawns (long time ago on csgo)

Ilusion9 09-16-2018 12:23

Re: Respawned player can't be specatated?
 
Quote:

Originally Posted by xm3kilo (Post 2615404)
Just with CS_RespawnPlayer(client)

And it's for CS:GO. I've seen this on another server too with respawns (long time ago on csgo)

when you disturb another events, that can happen
also, you have valve cvars for respawn (you can manipulate the time with spec_freeze cvars)

xm3kilo 09-17-2018 05:17

Re: Respawned player can't be specatated?
 
Quote:

Originally Posted by Ilusion9 (Post 2615436)
when you disturb another events, that can happen
also, you have valve cvars for respawn (you can manipulate the time with spec_freeze cvars)

This is for manually respawning mid round etc. And what do you mean disturbing other events? Interesting..

lugui 09-19-2018 08:17

Re: Respawned player can't be specatated?
 
It is probably messing up the default respawn code, I'm prety sure that after a few seconds the player is abe to spectate again

xm3kilo 09-19-2018 09:07

Re: Respawned player can't be specatated?
 
Some more detail of the same issue is:

> Player gets respawned
> No one can spectate them
> You get respawned (I think.. hard to diagnose)
> You die
> You cannot spectate anyone but one person (you can't change who you spectate)

It's a one line respawn, as per above. So strange.

Ilusion9 09-19-2018 11:04

Re: Respawned player can't be specatated?
 
What other plugins do you use? Maybe you assign a team on connect in a wrong way ...


All times are GMT -4. The time now is 19:17.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.