schaut einer pls mal an was falsch is ?
für die die lieber in pastebin wollen:
new Menu:exoticexports;
public OnFilterScriptInit()
{
exoticexports = CreateMenu("exoticexports",2,200.0,100.0,150.0,150.0);
AddMenuItem(exoticexports,0, "Banshee");
AddMenuItem(exoticexports,1, "Bullet");
AddMenuItem(exoticexports,2, "Cheetah");
AddMenuItem(exoticexports,3, "Infernus");
AddMenuItem(exoticexports,4, "Turismo");
AddMenuItem(exoticexports,5, "Elegy");
AddMenuItem(exoticexports,6, "Tornado");
AddMenuItem(exoticexports,7, "Remington");
AddMenuItem(exoticexports,8, "Slamvan");
AddMenuItem(exoticexports,9, "Feltzer");
AddMenuItem(exoticexports,10, "Stallion");
AddMenuItem(exoticexports,11, "Mehr");
return 1;
}
if (strcmp("/exotic", cmdtext,true) ==0)
{
TogglePlayerControllable(playerid, 1);
ShowMenuForPlayer(exoticexports,playerid);
return 1;
}
/*----------------------------------------------------------------------------------*/
public OnPlayerSelectedMenuRow(playerid, row)
{
new Menu:CurrentMenu = GetPlayerMenu(playerid);
if(CurrentMenu == exoticexports)
{
switch(row)
{
case 0:
{
CreateVehicle(429, -1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//Banshee
}
case 1:
{
CreateVehicle(541, -1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//Bullet
}
case 2:
{
CreateVehicle(415, -1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//cheetah
}
case 3:
{
CreateVehicle(411, -1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//Infernus
}
case 4:
{
CreateVehicle(451, -1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//Turismo
}
case 5:
{
CreateVehicle(562,-1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//Elegy
}
case 6:
{
CreateVehicle(576, -1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//tornado
}
case 7:
{
CreateVehicle(534,-1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//Remington
}
case 8:
{
CreateVehicle(535,-1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//Slamvan
}
case 9:
{
CreateVehicle(533, -1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//Feltzer
}
case 10:
{
CreateVehicle(439,-1660.8359,1213.9100,7.2500,101.4816, 0, 0, -1);//Stallion
}
case 11:
{
HideMenuForPlayer(playerid, exoticexports);
}
}
return 1;
}