Raised This Month: $ Target: $400
 0% 

whats wrong here?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
omgitsme
Veteran Member
Join Date: Mar 2010
Old 08-09-2010 , 16:40   Re: whats wrong here?
Reply With Quote #7

PHP Code:
public VipMenu(id)
{
    
        if(
is_user_alive(id))
        {
            
get_user_flags(idADMIN_CHAT)
        }
    else
    {
        {
        if(!(
get_user_flags(id) & ADMIN_CHAT))
        return 
PLUGIN_HANDLED
    
}
    
    new 
menu menu_create ("\rVipMenu""menu_handler");
    
menu_additem(menu"\wAk47 + M4A1 + Deagle""1"0);
    
menu_additem(menu"\wGravity""2"0);
    
menu_additem(menu"\w200hp + 250ap""3"0);
    
menu_additem(menu"\wSpeed""4"0);
    
menu_additem(menu"\wPrimary Weapon + Awp""5"0);
    
menu_setprop(menuMPROP_EXITMEXIT_ALL);
    
menu_display(idmenu0);

like this? gives up a error again..
or
PHP Code:
public VipMenu(id)
{
    
        if(
is_user_alive(id))
        {
            
get_user_flags(idADMIN_CHAT)
        }
    else
        if(!(
get_user_flags(id) & ADMIN_CHAT))
        return 
PLUGIN_HANDLED
    
    
new menu menu_create ("\rVipMenu""menu_handler");
    
menu_additem(menu"\wAk47 + M4A1 + Deagle""1"0);
    
menu_additem(menu"\wGravity""2"0);
    
menu_additem(menu"\w200hp + 250ap""3"0);
    
menu_additem(menu"\wSpeed""4"0);
    
menu_additem(menu"\wPrimary Weapon + Awp""5"0);
    
menu_setprop(menuMPROP_EXITMEXIT_ALL);
    
menu_display(idmenu0);

compiles with errors, but anyone can use it
__________________
omgitsme is offline
Send a message via Skype™ to omgitsme
 



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 22:00.


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