Raised This Month: $ Target: $400
 0% 

[HELP] Menu modify.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
lolzin123
Member
Join Date: Apr 2009
Old 08-03-2009 , 10:38   Re: [HELP] Menu modify.
Reply With Quote #10

I'm add at:

PHP Code:
public plugin_init() 
And when i add this code:
PHP Code:
gCustomMenu menu_create("Custom Menu""mnuCustom"0);
    
menu_additem(gCustomMenu"Revive""1"accessCustom, -1);
    
menu_additem(gCustomMenuget_user_godmode(plr) ? "GODMODE: \yON" "GODMODE: \rOFF""2"accessCustom, -1);
    
menu_additem(gCustomMenu"Scout + Usp""3"accessCustom, -1);
    
menu_additem(gCustomMenu"Healer""4"accessCustom, -1);
    
menu_additem(gCustomMenu"Sobre este plugin.""5"0, -1);
    
menu_setprop(gCustomMenuMPROP_EXITNAME"Main Menu"); 
With 'plr' apears the code bug:
undefined symbol 'plr'

and

argument type mistmach <argument 2>

And my plugin doesn't works with 'id' ... the way is add plr at:
PHP Code:
public plugin_init() 
but i think this bug the plugin...
lolzin123 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 18:18.


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