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 , 08:02   Re: Prevent player from spawning (just ignore him)
Reply With Quote #8

Store get_gametime()'s value in a global variable on round start.
When the player joins, compare the variable with a new get_gametime() output and see if it's greater than 40:

PHP Code:
if(get_gametime() - STORED_VARIABLE >= 40
You can use get_systime() too if you prefer.
__________________

Last edited by OciXCrom; 09-18-2019 at 08:02.
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