Raised This Month: $ Target: $400
 0% 

Argh! Trying to make this admin-only


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Le Wolf
Junior Member
Join Date: Sep 2004
Old 10-16-2004 , 20:04  
Reply With Quote #2

Code:
public handle_say(id,key) {     if (!(get_user_flags(id)&ADMIN_LEVEL_H))         return PLUGIN_HANDLED     if(get_cvar_num("amx_ghumans") == 0){     new said[31]     new cmd[9]     read_args(said,30)     replace(said,30,"^"","")     parse(said,cmd,8,key,21)     if (equal(cmd,"glow",8)){     if (is_user_alive(id) == 1){     menu_glowing(id)     }     else     client_print(id,print_chat,"[AMX] You Can't Glow when you are dead.")     }     return PLUGIN_CONTINUE     }     return PLUGIN_HANDLED }
Le Wolf 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 17:12.


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