Raised This Month: $ Target: $400
 0% 

possible?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 03-14-2010 , 17:16   possible?
Reply With Quote #1

alright lets just say i have 2 seperate plugins both have menus
is it possible to connect one menu to the other plugins menu.
if it is can you do an example code plz & thx you.

better Example
hello.amxx
IN GAME: say /hello
Code:
HELLO MENU
1. HI
2. HELLO
3. CACAFACE "FROM ABC.amxx"
---------------------------------------
abc.amxx
IN GAME: say /abc
Code:
 
ABC MENU
1. ZERO
2. THREE
3. CACAFACE
__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
infek is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-14-2010 , 17:24   Re: possible?
Reply With Quote #2

You can use dynamic natives, create forwards, or use callfuncs.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 03-15-2010 , 13:37   Re: possible?
Reply With Quote #3

There are variouse ways to link plugins to each other.
There are complex and easy (temporarly) methods.

For example if you really want it easy and fast just let the item call a cmd using client_cmd() and register that cmd with the other plugin.
This is pretty easy, so only use it if it doesnt matter.
__________________
I am out of order!
grimvh2 is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 03-15-2010 , 14:53   Re: possible?
Reply With Quote #4

Quote:
Originally Posted by Exolent[jNr] View Post
You can use dynamic natives, create forwards, or use callfuncs.
+ xvars
SnoW is offline
Send a message via MSN to SnoW
Reply


Thread Tools
Display Modes

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 08:42.


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