Raised This Month: $ Target: $400
 0% 

how to check players


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 05-04-2010 , 08:34   how to check players
Reply With Quote #1

1.How can i check how many players are on server right now ?

can someone give me a code/snippet please.

2. How can i make that when there are like 22 players on server, 1 more guy joins server, then he will be redirected to another server in 5 seconds.

PHP Code:
client_print(i"you will be redirected to our new server in 5 seconds")
set_task(5.0,"redirect")

public 
redirect(i)
{
client_cmd(i"connect newserverip")

reinert 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 03:36.


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