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

CS_RespawnPlayer CSGO become ghost.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shortguy
Member
Join Date: Jul 2009
Old 08-04-2015 , 05:52   CS_RespawnPlayer CSGO become ghost.
Reply With Quote #1

So I'm having an interesting timing issue with CS:GO and CS_RespawnPlayer.

I am hooking the "player_death" event in order to respawn players immediately after they die.
However, if I run the RespawnPlayer command from the death event hook, the player respawns but are in the floor and are sort of a ghost player (not alive, no weapons but can move around kind of).

However I can get around this by using CreateTimer and any amount of time works.

For instance I can use a 0.000001 timer and it will respawn immediately and works wonderfully.

Is there something I am doing wrong? I am already using PostHook.
shortguy 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:02.


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