SA-MP Forums Archive
[HELP] Cars for House - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Cars for House (/showthread.php?tid=202591)



[HELP] Cars for House - Mafian188999 - 24.12.2010

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