Jump to content

Nerual

Members
  • Content Count

    5
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    Nerual reacted to Aeromesi in A little help please! bindatcmd>getgroupid>menu   
    Never knew getgmlevel was deprecated.

    EDIT: Also I tested without "OnAt" I was wrong. It just needs "On" in order to be triggered. I had this problem awhile ago with instance scripts so I guess it applies to bindatcmd too.
  2. Upvote
    Nerual reacted to Aeromesi in A little help please! bindatcmd>getgroupid>menu   
    -    script    gmmenu    -1,{   OnAtGM_Menu:       if (getgmlevel() >= 60) {           .@menu$ = "menu1:menu2";           switch(select(.@menu$)){               case 1:                     mes "menu1";                 close;               case 2:                 mes "menu2";                 close;             }     } end; OnInit:       bindatcmd "gmmenu",strnpcinfo(0)+"::OnAtGM_Menu";     end; }
    PS: Also had to name the menu "::OnAt(menuname)"
  3. Upvote
    Nerual reacted to evilpuncker in A little help please! bindatcmd>getgroupid>menu   
    change strnpcinfo(3) into strnpcinfo(0)
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.