SA-MP Forums Archive
[HELP] House - Cars , Dialog - 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] House - Cars , Dialog (/showthread.php?tid=199183)



[HELP] House - Cars , Dialog - Mafian188999 - 14.12.2010

Hello. Someone help me convert this part of the script for dialogues?
Please, do not know how it'll do



if(IsPlayerOwnerOfHouseID(playerid,h))
{
house_automenu[playerid] = CreateMenu("Your Vehicles", 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);
}
}
}



Please help me to give the dialogue: (I will be glad