Raised This Month: $51 Target: $400
 12% 

Emerge a Plugin into Menu .


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Stressful
Senior Member
Join Date: Feb 2011
Old 07-05-2011 , 04:26   Emerge a Plugin into Menu .
Reply With Quote #1

Hello ,
How do we emerge a plugin function into a menu option ?
__________________
Stressful is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-05-2011 , 04:58   Re: Emerge a Plugin into Menu .
Reply With Quote #2

Quote:
Originally Posted by Stressful View Post
How do we emerge a plugin function into a menu option ?
What? You will have to explain in english in detail what you are trying to do. And, you should show your code.
__________________
fysiks is offline
KviZ
Senior Member
Join Date: Feb 2011
Location: Lithuania
Old 07-05-2011 , 08:26   Re: Emerge a Plugin into Menu .
Reply With Quote #3

I think he wanted to say: He has some plugin and a menu, and he want's that if you select etc. "1" then do the actions from the other plugin, right? And I think that the best option is to make a var that you can set from other plugins and then make the code that makes that var true and a check in plugin if it's true, then do the actions in the plugin, sorry if my English is bad and you didn't understand what I said...
__________________
[LT] Basebuilder server - 62.80.238.25:27015
KviZ is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-05-2011 , 08:30   Re: Emerge a Plugin into Menu .
Reply With Quote #4

Something like these ?
- http://forums.alliedmods.net/showthread.php?t=57863
- http://forums.alliedmods.net/showthread.php?p=740795
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Stressful
Senior Member
Join Date: Feb 2011
Old 07-05-2011 , 08:43   Re: Emerge a Plugin into Menu .
Reply With Quote #5

Umm you know like in a menu ,

PHP Code:
    menu_additem(menu"\yYourClass\w -Job-""1"0); 
PHP Code:
        case 1
        {
// Stuff here 
        
}
    } 
Then I have this plugin that has function of public FMPreThink(id) public FMUpdateClientData(id, sendweapons, cd_handle ) .etc stuff . How do i add all the function into the " Stuff Here"
__________________
Stressful is offline
Old 07-11-2011, 06:45
Stressful
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Reply



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 16:02.


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