in dem du einfach mehrere reinscriptest, oder was meinst du?
Normalerweise sollte sowas als Antwort reichen.
#include <a_samp>
new
Menu:Teleport,
Menu:AmmuNation;
public OnGameModeInit() {
Teleport=Menu:CreateMenu("~w~Teleport Menu",1,20,200,200);
SetMenuColumnHeader(Teleport, 0, "Location");
AddMenuItem(Teleport,0," Los Santos");
AddMenuItem(Teleport,0," San Fierro");
AddMenuItem(Teleport,0," Las Venturas");
AddMenuItem(Teleport,0," Desert");
AddMenuItem(Teleport,0," Country");
//
AmmuNation=Menu:CreateMenu("~w~Ammu-Nation",1,20,150,150);
SetMenuColumnHeader(AmmuNation, 0, "Weapon Type");
AddMenuItem(AmmuNation,0," Pistole");
AddMenuItem(AmmuNation,0," Micro SMG");
AddMenuItem(AmmuNation,0," Shotguns");
AddMenuItem(AmmuNation,0," SMG");
AddMenuItem(AmmuNation,0," Rifles");
AddMenuItem(AmmuNation,0," Assault rifle");
AddMenuItem(AmmuNation,0," Grenades");
AddMenuItem(AmmuNation,0," Hand Guns");
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
new
Menu:Current;
Current=GetPlayerMenu(playerid);
if(Current==Teleport) {
}
else if(Current==AmmuNation) {
}
return 1;
}