Raised This Month: $ Target: $400
 0% 

Prevent player from spawning (just ignore him)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-18-2019 , 07:35   Re: Prevent player from spawning (just ignore him)
Reply With Quote #6

Quote:
Originally Posted by JocAnis View Post
Register new round. Add there global variable (float): g_fRoundTime = get_gametime()

On spawn check if g_fRoundTime >= 40.0
That time is counted from the start of the map, not round. He can use get_gametime(), but he will need to compare the stored value with a new get_gametime() when the player joins and check if the difference between them is >= 40.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



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 17:27.


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