could anyone help me to fix when some one connects and joined a team then a menu shows up. this wont work.
PHP Code:
public client_putinserver(id)
{
ScreenFadeIn(id)
mmenu(id)
}
public mmenu(id)
{
new Temp[101]
formatex(Temp,100, "\d%s\y: Main Menu^n\wVisit\r %s", Website)
new menu = menu_create(Temp, "smenu")
menu_additem(menu, "\gAgree", "1", 0);
menu_additem(menu, "\rDisagree", "2", 0);
menu_additem(menu, "\wShow The Rules", "3", 0);
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0);
if(menu_destroy(id))
{
ScreenFadeOut(id)
menu_destroy(menu);
return PLUGIN_HANDLED
}
return PLUGIN_HANDLED
}
__________________