Raised This Month: $ Target: $400
 0% 

check if new user connects


Post New Thread Reply   
 
Thread Tools Display Modes
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 08-27-2012 , 12:39   Re: check if new user connects
Reply With Quote #11

Quote:
Originally Posted by gogicaa View Post
You can simply remove MOTD by deleting motd.txt from cstrike directory.
That way you are removing motd for every player.
Using the code from link i posted, you can block motd for specific player

Last edited by OvidiuS; 08-27-2012 at 12:39.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
SPT1
Senior Member
Join Date: Aug 2012
Old 08-27-2012 , 13:37   Re: check if new user connects
Reply With Quote #12

Quote:
Originally Posted by guipatinador View Post
PHP Code:
public client_authorized(id)
{
    
set_task(10.0"ShowMotd" ,id)
}
public 
ShowMotd(id)

    if(
get_user_flags(id) & ADMIN_LEVEL_H)
    {
        
show_motd(id"a.txt")
    } 

this worked
__________________
AMXMODX
SPT1 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 05:49.


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