AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Explanation of command, paccess, and callback for menu_additem (https://forums.alliedmods.net/showthread.php?t=47147)

Geesu 11-10-2006 22:26

Explanation of command, paccess, and callback for menu_additem
 
native menu_additem(menu, const name[], const command[]="", paccess=0, callback=-1);

Can anyone explain what they are used for?

Also, is it possible to add an item to the menu that is NOT selectable by the user?

Josh

VEN 11-12-2006 04:54

Re: Explanation of command, paccess, and callback for menu_additem
 
Have you read the amxx wiki scripting changes for 1.7x?
I believe Bail explained it with a good examples.


All times are GMT -4. The time now is 20:17.

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