Raised This Month: $ Target: $400
 0% 

Auto-paginate doesn't work?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 03-27-2011 , 12:57   Auto-paginate doesn't work?
Reply With Quote #1

I've made the menu like that:

PHP Code:
new TotalReasonsGlobal 7
new const reasons_global[][64] =
{
    
"Camping",
    
"Spamming",
    
"Insulting",
    
"Bad Behaving",
    
"High Ping",
    
"Racism",
    
"Cheating"

PHP Code:
public GlobalreasonMenu(id)
{
    new 
ReasonmenuTemp[64]
    
formatex(Temp,63"\rChoose reason:")
    
    
Reasonmenu menu_create(Temp"globalban_reason_handler")
    new 
key[6]
    
    for(new 
iTotalReasonsGlobali++)
    {
        
num_to_str(ikeysizeof(key)-1)
        
menu_additem(Reasonmenureasons_global[i], key0)
    }
    
menu_display(idReasonmenu)
    return 
PLUGIN_HANDLED

This shows me just 6 items. Cheating isn't in the list.
bibu 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 14:38.


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