Raised This Month: $ Target: $400
 0% 

how to check players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 05-04-2010 , 10:35   Re: how to check players
Reply With Quote #1

Like this: ?

PHP Code:
#include <amxmodx>


public plugin_init() {
    
register_plugin("RD","1.0","addinol")
}


public 
client_connect(){
    
    if(
get_playersnum(1) > 22)
    {
        
set_task(5.0,"redirect")
    }
    
}

public 
redirect(){
    
client_cmd(  <<<<< what about this >>>>>  ,"Connect serverip")

reinert is offline
Reply



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