AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Old Item Menu Strange Behavior (https://forums.alliedmods.net/showthread.php?t=101311)

Bad_Bud 08-22-2009 19:27

Old Item Menu Strange Behavior
 
I noticed a typo in one of my menus, but strangely it still worked.

PHP Code:

register_menu("Layer1",MENU_KEY_ALL,"ItemMenu")//Main Item Menu 

PHP Code:

show_menu(id,Keys,MenuBody,-1,"ItemMenuLayer123242"

So... are these menus referenced as long as they contain the string referenced in register_menu, not equal?


All times are GMT -4. The time now is 15:10.

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