Raised This Month: $32 Target: $400
 8% 

Solved Player spawning right after menu select


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-30-2018 , 05:48   Player spawning right after menu select
Reply With Quote #1

So you know when you enter a server and right after selecting a team & class you spawn, how do I block it and why does it happen? I want player to be able to choose team & class but not spawn.
__________________

Last edited by edon1337; 07-30-2018 at 06:44.
edon1337 is offline
Kalipso22
Junior Member
Join Date: Jul 2018
Location: Türkiye
Old 07-30-2018 , 06:13   Re: Player spawning right after menu select
Reply With Quote #2

I don't quite understand what you mean, but if you start round you are not spawn anymore, they are spawn dead. If you prefer, you can use the BlockJointeam plugin. The players are assigned the team you want without making any choice. If the round starts, they will go dead.

Last edited by Kalipso22; 07-30-2018 at 06:14. Reason: misspelling
Kalipso22 is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-30-2018 , 06:23   Re: Player spawning right after menu select
Reply With Quote #3

If you are using ReGameDLL check the following cvar mp_roundrespawn_time
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 07-30-2018 at 06:23.
Ghosted is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-30-2018 , 06:28   Re: Player spawning right after menu select
Reply With Quote #4

Quote:
Originally Posted by Ghosted View Post
If you are using ReGameDLL check the following cvar mp_roundrespawn_time
Well, unfortunately I'm not..

Quote:
Originally Posted by Kalipso22 View Post
I don't quite understand what you mean, but if you start round you are not spawn anymore, they are spawn dead.
I think you're wrong, try creating a listen server and you'll see that you'll spawn as soon as you choose the player class.
__________________

Last edited by edon1337; 07-30-2018 at 06:36.
edon1337 is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-30-2018 , 06:39   Re: Player spawning right after menu select
Reply With Quote #5

Hook Putinserver and set players privatedata m_iNumRespawns (365) to 1 (that means player is already respawned and is unable to spawn)
Code:
set_pdata_int(id, 365, 1);
Don't know if there will be issues
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-30-2018 , 06:44   Re: Player spawning right after menu select
Reply With Quote #6

Quote:
Originally Posted by Ghosted View Post
Hook Putinserver and set players privatedata m_iNumRespawns (365) to 1 (that means player is already respawned and is unable to spawn)
Code:
set_pdata_int(id, 365, 1);
Don't know if there will be issues
As for now it works, I'll let you know if there's any issues, thanks!
__________________
edon1337 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:18.


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