Raised This Month: $ Target: $400
 0% 

Putting together a plugin? (VIPMenu)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SozzZod
Junior Member
Join Date: Oct 2009
Old 07-24-2010 , 13:30   Re: Putting together a plugin? (VIPMenu)
Reply With Quote #3

Quote:
Originally Posted by nikhilgupta345 View Post
You have to put the if statement inside of the VIP menu fuction and then return PLUGIN_HANDLED. Oh in the createmenu it says vipmeniu?
Ughmm... could you give me an example? To me, it is in the VIP menu... Whate H... i will give it a try...:
PHP Code:
new vip_menu

public plugin_init()
{
 
register_clcmd"say /vipmenu","VIPMenu");
}

if( !( 
get_user_flagsid ) & ADMIN_LEVEL_B ) ) {
     return;

Quote:
Originally Posted by nikhilgupta345 View Post
Also for the third case make a menu item for it the same way to make it for the deagle and stuff.
Hmm... i think i tried it already XP look at the second PHP.
SozzZod 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 00:09.


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