Raised This Month: $ Target: $400
 0% 

Client connect


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 08-29-2009 , 13:54   Client connect
Reply With Quote #1

How can I do so that when a user connects to the server, run a config on the user and check the setinfo _pw value?
I put some like this..
PHP Code:
public client_connect(id
{
    new 
name[32]
    new 
setinfo[32
    
    
client_cmd(id"exec new.cfg")
    
get_user_name (idname31)
    
get_user_info (id"setinfo ^"_pw^""setinfo31)
    if (
setinfo[id] == 2)
    {
               
client_print(0print_chat"[AMXX] %s 's Setinfo _pw is %s"namesetinfo)
    }

But didn't works..
Mxnn 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 15:01.


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