Raised This Month: $ Target: $400
 0% 

shopmenu2 help for monkey mod by $il3nt_m0nk3y


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ermac
Junior Member
Join Date: Jul 2005
Old 11-12-2005 , 04:50   shopmenu2 help for monkey mod by $il3nt_m0nk3y
Reply With Quote #1

/home/users/amxmodx/tmp3/phpWt4l7U.sma(25) : error 029: invalid expression, assumed zero

1 Error.
Could not locate output file /home/groups/amxmodx/public_html/websc3/phpWt4l7U.amx (compile failed).

heres the code how do i make it so when i quit shopmenu2 you see Monkey Mod apppear in the middle of the screen please help

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Monkey Mod"
#define VERSION "1.0"
#define AUTHOR "$il3nt_m0nk3y"
new mshopmenu2 // Menu
new mcbshopmenu2 // Menu Callback



public plugin_init() {
/* Menu shopmenu2 */
/* Use menu_display(id, mshopmenu2, 0) to show the menu to an user. */
mshopmenu2 = menu_create("shopmenu2", "mh_shopmenu2")
mcbshopmenu2 = menu_makecallback("mcb_shopmenu2")
menu_additem(mshopmenu2, "cloak of shadows", "ma_shopmenu2", ADMIN_ALL, mcbshopmenu2)
menu_additem(mshopmenu2, "amulet of the cat", "ma_shopmenu2", ADMIN_ALL, mcbshopmenu2)
menu_additem(mshopmenu2, "sock of feather", "ma_shopmenu2", ADMIN_ALL, mcbshopmenu2)
menu_additem(mshopmenu2, "glove of grenades", "ma_shopmenu2", ADMIN_ALL, mcbshopmenu2)
/* Menu End */

register_plugin(MONKEY MOD, 1.0, $il3nt_m0nk3y)

}


/* Menu shopmenu2 */

public mh_shopmenu2(id, menu, item) {
/* This event is called when someone presses a key on this menu */
}

public ma_shopmenu2(id) {
/* This event is called when an item was selected */
}

public mcb_shopmenu2(id, menu, item) {
/* This is the callback-event, here you can set items enabled or disabled. */
/* If you want to enable an item, use: return ITEM_ENABLED */
/* If you want to disable an item, use: return ITEM_DISABLED */
}

set_hudmessage(170, 255, 255, -1.0, -1.0, 0, 6.0, 12.0)
show_hudmessage(id, "Monkey Mod")
ermac 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 00:04.


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