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

TF2 blocking player respawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
foon
Member
Join Date: Dec 2018
Old 12-31-2019 , 07:15   TF2 blocking player respawn
Reply With Quote #1

Is there any way to block a player from respawning? I know I can set m_TeamRespawnWaveTimes to something crazy, but that wont work with what I am trying to make. Ive looked around for somthing that I could use but couldnt find anything, maybe my googlefu isnt good enough.

I tried this, but I know it wont do anything since its only blocking the event for the client.
Code:
HookEvent("player_spawn", Event_Player_Spawn, EventHookMode_Pre);

public void Event_Player_Spawn(Event hEvent, const char[] name, bool dontBroadcast)
{
	return;
}

Last edited by foon; 12-31-2019 at 09:54.
foon is offline
 



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 02:03.


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