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

Dynamic Items in Menu and Plugin API


Post New Thread Reply   
 
Thread Tools Display Modes
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-14-2010 , 13:53   Re: Dynamic Items in Menu and Plugin API
Reply With Quote #11

Quote:
Originally Posted by padilha007 View Post
..
Oops. Small typo

Quote:
Originally Posted by drekes View Post
nice tutorial.
I just don't understand the #pragma thing.

And don't we include the shop in the plugin? Can you explain that?
You don't include it in the main plugin because that is where the API is defined.
The main plugin doesn't require the API to work, so you don't include it.

EDIT:

Added specific callback function example.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 04-14-2010 at 14:04.
Exolent[jNr] is offline
Old 04-14-2010, 14:02
Exolent[jNr]
This message has been deleted by Exolent[jNr]. Reason: Double post, edited post above.
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 04-14-2010 , 15:29   Re: Dynamic Items in Menu and Plugin API
Reply With Quote #12

this may sound noobish, but can you define API?
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 04-14-2010 , 15:44   Re: Dynamic Items in Menu and Plugin API
Reply With Quote #13

Quote:
Originally Posted by drekes View Post
this may sound noobish, but can you define API?
http://forums.alliedmods.net/showthread.php?t=41241
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 04-14-2010 , 15:45   Re: Dynamic Items in Menu and Plugin API
Reply With Quote #14

tnx
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 04-17-2010 , 19:59   Re: Dynamic Items in Menu and Plugin API
Reply With Quote #15

If menu got 3 pages, on 1st and 2nd page key 9 will be more, and key 0 exit on 1st page, and on 2nd page 0 will be back? Know what I mean?

And if my line to format szItem is that:
Code:
formatex( szItem, charsmax( szItem ), "%s", serwer[i] );
Can I make something like that:
Code:
    new key = str_to_num(szNum);
    
    client_cmd(id,"connect %s",ip[key]);
key = i ?

Last edited by FiFiX; 04-17-2010 at 20:03.
FiFiX is offline
Send a message via Skype™ to FiFiX
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 04-17-2010 , 20:42   Re: Dynamic Items in Menu and Plugin API
Reply With Quote #16

Pages:
  • First Page
    • 9 - More
    • 0 - Exit
  • Middle Pages
    • 9 - More
    • 0 - Back
  • Last Page
    • 0 - Back

About your second question; yes, that'd work if you were able to manually have clients connect like that, but I'm pretty sure Valve patched that. Not sure, though.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 04-17-2010 , 22:21   Re: Dynamic Items in Menu and Plugin API
Reply With Quote #17

Quote:
Originally Posted by wrecked_ View Post
About your second question; yes, that'd work if you were able to manually have clients connect like that, but I'm pretty sure Valve patched that. Not sure, though.
I'm pretty sure he would be able to use 'Connect', it makes the difference. I don't know if they fixed that yet but it works with an auto re-direct plugin I helped a friend with. I don't even know if it needs to be changed.

EDIT: Oh and Exolent.. this clears a few things up for me. Thanks.
__________________
Hi.
Kreation is offline
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 04-17-2010 , 23:17   Re: Dynamic Items in Menu and Plugin API
Reply With Quote #18

Thank You Very Much. Ive been waiting
__________________
JailBreak Mod with Plugin API ( 90% ) Public
shuttle_wave is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 04-17-2010 , 23:31   Re: Dynamic Items in Menu and Plugin API
Reply With Quote #19

Thanks, I make some similar in Kz-Arg.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 04-17-2010 , 23:49   Re: Dynamic Items in Menu and Plugin API
Reply With Quote #20

Quote:
Originally Posted by Kreation View Post
I'm pretty sure he would be able to use 'Connect', it makes the difference. I don't know if they fixed that yet but it works with an auto re-direct plugin I helped a friend with. I don't even know if it needs to be changed.
Yeah, that's it. Looks like Valve's too ignorant to completely patch it.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
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 23:29.


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