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

Menus Unimplemented Functions (MUF :D )


  
 
 
Thread Tools Display Modes
Author Message
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 08-11-2005 , 02:59   Menus Unimplemented Functions (MUF :D )
#1

Here are the 3 unimplemented functions. There are in the inc file but not in the core.
newmenus.cpp
Code:
static cell AMX_NATIVE_CALL menu_item_setname(AMX *amx, cell *params) {     GETMENU(params[1]);     menuitem *pItem = pMenu->GetMenuItem(static_cast<item_t>(params[2]));     if (!pItem)         return 0;     int len;     char *name;     name = get_amxstring(amx, params[3], 0, len);     pItem->name.assign(name);     return 1; } static cell AMX_NATIVE_CALL menu_item_setcmd(AMX *amx, cell *params) {     GETMENU(params[1]);     menuitem *pItem = pMenu->GetMenuItem(static_cast<item_t>(params[2]));     if (!pItem)         return 0;     int len;     char *cmd;     cmd = get_amxstring(amx, params[3], 0, len);     pItem->cmd.assign(cmd);     return 1; } static cell AMX_NATIVE_CALL menu_item_setcall(AMX *amx, cell *params) {     GETMENU(params[1]);     menuitem *pItem = pMenu->GetMenuItem(static_cast<item_t>(params[2]));     if (!pItem)         return 0;     pItem->handler = params[3];     return 1; }
Freecode is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 08-11-2005 , 17:59  
#2

freecode, wasn't it YOU that told me that it's not a bug when i reported
those 3 natives not being implemented?!
FeuerSturm is offline
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 08-11-2005 , 18:00  
#3

its not a bug. they wernt added and i didnt know u were using them (might have missd it)
Freecode is offline
BAILOPAN
Join Date: Jan 2004
Old 08-17-2005 , 12:12  
#4

Added these, thanks!
__________________
egg
BAILOPAN 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 08:00.


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