[HELP] Cars for House
#1

Hello
I have such a problem. I remade the entire home system for dialogue, but these lines I can not give the correct dialogue. Please help


newy

new Menu:house_automenu[MAX_PLAYERS];



then it House_SelectedMenuRow


//auto:
case 4:
{
if(IsPlayerOwnerOfHouseID(playerid,h))
{
house_automenu[playerid] = CreateMenu("Our Vehicle", 2, 160.0, 120.0, 240.0, 250.0);
for(new i;i<House[h][house_carslots];i++)
{
if(HouseVehicleID[h][i]==0)
{
AddMenuItem(house_automenu[playerid],0,"- No Vehicle -");
}else{
AddMenuItem(house_automenu[playerid],0,vehName[GetVehicleModel(HouseVehicleID[h][i])-400]);
}
}
ShowMenuForPlayer(house_automenu[playerid],playerid);
}else ShowTableMessage(playerid,3,GetPlayerLangKey(playe rid,"OWNERBAD"),true);
}
}
}




Please. how to give the dialogue?

sorry for my bad English
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)