SA-MP Forums Archive
Help with menu - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with menu (/showthread.php?tid=565191)



Help with menu - cnoopers - 25.02.2015

Hello
Menu is not showing, why?

Код:
new Menu:MENU_Garage[25];

public OnGameModeInit(){
    MENU_Garage[0] = CreateMenu(" ", 1, -200.0, 25.0, 50.0, 50.0);
    
    AddMenuItem(MENU_Garage[0], 0, "Bla");
    AddMenuItem(MENU_Garage[0], 0, "Bla");
	return 1;
}

CMD:garage(playerid, params[]){
	ShowMenuForPlayer(MENU_Garage[0], playerid);
	return 1;
}



Re: Help with menu - Vince - 25.02.2015

Because you created it off-screen? -200?