Raised This Month: $ Target: $400
 0% 

How to make callback with num_to_str() in menu?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
EclipseCP
BANNED
Join Date: Dec 2010
Old 05-15-2011 , 11:17   How to make callback with num_to_str() in menu?
Reply With Quote #1

Hello everyone.

I wanted to do a callback, but I can not because have num_to_str() and prevents me from putting "buffer" to "menu_additem"

PHP Code:

new menu[128],num[8], buffer[128], menuidi

// [...]

num_to_str(inumcharsmax(num))
        
buffer[0] = i
buffer
[1] = 0
menu_additem
(menuidmenunumADMIN_ALLmenu_makecallback("c_menu3")) 
notify me if not well expressed, use translator.

Greetings
EclipseCP 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 04:30.


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