Raised This Month: $ Target: $400
 0% 

Show Info


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 06-26-2009 , 11:41   Show Info
Reply With Quote #1

Does anyone know what happen to my Show_Info it doesn't show :

PHP Code:
client_print(idprint_chat"[AMX] Say '/menu' to display AMX Menu."
Every 20 second.

PHP Code:
#include <amxmodx>
 
#define ADMIN_LEVEL ADMIN_KICK

new bool:Admin[33]
 
public 
plugin_init() 
{
 
register_plugin("Sub-Menu","1.0","ƒa†es™")
}
 
public 
client_putinserver(id)
{
        
Admin[id] = bool:(get_user_flags(id) & ADMIN_LEVEL)
        
set_task(20.0"show_info"id)
}
 
public 
show_info(id)
{
 if( 
is_user_connected(id) && Admin[id])
      return 
PLUGIN_CONTINUE

 client_print
(idprint_chat"[AMX] Say '/menu' to display AMX Menu.")
      return 
PLUGIN_CONTINUE

__________________
ƒa†es™ 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:35.


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