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

[RESOLVED]Menu Length Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
neo_gis
Member
Join Date: Sep 2009
Location: Rabat
Old 06-12-2010 , 10:22   [RESOLVED]Menu Length Problem
Reply With Quote #1

Hey guys ,

i have some menus that work on eventscripts . but when trying to show the same menu using my plugin they just dont get displayed .

My guess is that the buffer containing the menu is larger than 512 (read somewhere its the max length?)

If that is the problem how come that ES is able to display such large menus ?

Thx !
__________________

Last edited by neo_gis; 06-15-2010 at 15:06.
neo_gis is offline
Send a message via MSN to neo_gis Send a message via Skype™ to neo_gis
neo_gis
Member
Join Date: Sep 2009
Location: Rabat
Old 06-14-2010 , 17:00   Re: Menu Length Problem
Reply With Quote #2

any update of this ?

thx !
__________________
neo_gis is offline
Send a message via MSN to neo_gis Send a message via Skype™ to neo_gis
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-15-2010 , 00:35   Re: Menu Length Problem
Reply With Quote #3

This is a really slow section, many of the coders on this forum only use SourcePawn, and the limited amount of C++ plugin coders may not know the answer. Please do not bump your posts here, as they are still on the first page.
__________________
asherkin is offline
Chrisber
AlliedModders Donor
Join Date: Jul 2007
Location: localhost
Old 06-15-2010 , 10:46   Re: Menu Length Problem
Reply With Quote #4

Look at the CSS:RPG sourcecode (www.cssrpg.com). Also I can recommend you to take a further look into this at all, you will learn a LOT of new things you didn't know before either ;)

Chris
Chrisber is offline
neo_gis
Member
Join Date: Sep 2009
Location: Rabat
Old 06-15-2010 , 12:26   Re: Menu Length Problem
Reply With Quote #5

yh i always take cssrpg as a reference ^^ . learned a lot from there .

FINALLY got over the problem by taking a look at mani_menu.cpp , good stuff inthere , thx Mani !
__________________
neo_gis is offline
Send a message via MSN to neo_gis Send a message via Skype™ to neo_gis
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:37.


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