Raised This Month: $51 Target: $400
 12% 

[CS1.6] Admin/Player Rules See In Motd [PLUGIN]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management       
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 07-18-2016 , 01:05   [CS1.6] Admin/Player Rules See In Motd [PLUGIN]
Reply With Quote #1

Hi Guys You Want See Admin Rules Or Player Rules In oke

I Creat The Script To See Rules !!

Commands:
Code:
say /rules ( to see player rules )
say /admrules ( to see admin rules )
Admin Acces
PHP Code:
ADMIN_ACCES ADMIN_KCIK 
Script
PHP Code:
#include <amxmodx>

#define PLUGIN "Admin Rules"
#define VERSION "1.0"
#define AUTHOR "KaLo"

#define ADMIN_ACCES ADMIN_KICK

public plugin_init() {
    
register_plugin("admin / player rules""1.0""KaLO")
    
     
    
register_clcmd("say /admrules""Admin_RuleS");
    
register_clcmd("say /rules""Player_RuleS");
}

public 
Player_RuleS(id)
{
    
show_motd(id,"player_rules.txt""Player Rules")
}

public 
Admin_Rules(id){
    if( 
get_user_flags(id) && ADMIN_ACCES )
    {
    
show_motd(id,"admin_rules.txt""Admin Rules")
}

__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
 



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 04:18.


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