Question
#1

Is there any way to update a menu item. Ex -
PHP код:
AddMenuItem(test1"Yes"); 
. Changing Yes to No
Reply
#2

Anyone?
Reply
#3

Yes take this as example
I have tested this way and working for me.
PHP код:
new MenuString[50]; //At top of script
new Menu:Test;
CMD:menutext(playeridparams[])
{
    
DestroyMenu(Test);
    if(
sscanf(params"s[128]"MenuString)) return SendClientMessage(playeridCOLOR_RED"/menutext [text]");
    
Test CreateMenu("TestMenu"150.0160.0205.00.0);
    
SetMenuColumnHeader(Test0"Options:");
    
AddMenuItem(Test0MenuString);
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)