Raised This Month: $51 Target: $400
 12% 

Preventing respawning CS 1.6


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 05-26-2015 , 02:58   Preventing respawning CS 1.6
Reply With Quote #1

How can I prevent player respawning in safety manner? I force some players to pass a one round. Now I just kill them after a small delay after respawning. Searched in gamedll source and found a way of temporary set FL_DORMANT flag. But I don't know the consequences. The same for blocking Pre Ham_Spawn call. May be the best way is to temporary transfer player to SPECTATOR team?..
__________________

Last edited by isotonic; 05-26-2015 at 02:59.
isotonic is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-26-2015 , 19:37   Re: Preventing respawning CS 1.6
Reply With Quote #2

Sorry but I don't understand what you're trying to say.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 05-26-2015 at 19:37.
wickedd is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-26-2015 , 20:45   Re: Preventing respawning CS 1.6
Reply With Quote #3

https://forums.alliedmods.net/showthread.php?p=555695
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 05-27-2015 , 02:55   Re: Preventing respawning CS 1.6
Reply With Quote #4

Quote:
Originally Posted by wickedd View Post
Sorry but I don't understand what you're trying to say.
There is a kind of punishment on my server. Player must not play a whole next round if he did something bad The same idea gamedll uses for TK'ers when mp_tkpunish 1.


Quote:
Originally Posted by ^SmileY View Post
Not suitable for REspawning. The game just resets m_iSpawnTimes value at new round.

Quote:
Originally Posted by isotonic View Post
May be the best way is to temporary transfer player to SPECTATOR team?..
And modify subsequent TeamInfo messages in order to everybody see spectator as T/CT team player...
__________________
isotonic is offline
wEight
BANNED
Join Date: Jan 2015
Old 05-27-2015 , 08:04   Re: Preventing respawning CS 1.6
Reply With Quote #5

You mean reconnecting and then being alive again? If so, this should be suitable for your server...
https://forums.alliedmods.net/showthread.php?t=63453

Sorry, if this is not what you've meant, please give me a direct and easier info for us to understand.
wEight is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 05-27-2015 , 13:58   Re: Preventing respawning CS 1.6
Reply With Quote #6

I don't mean preventing spawning of new players after reconnect. I mean preventing spawning of current players in the next round


I already did. Thank you for your trying to help but I will wait for someone who understands me well ;)
__________________
isotonic is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-27-2015 , 18:19   Re: Preventing respawning CS 1.6
Reply With Quote #7

set pev_deadflag at every round end event, for specified players.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Reply



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 18:36.


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