Missions 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)
+--- Thread: Missions Dialog. (
/showthread.php?tid=587169)
Missions Dialog. -
Mititel - 28.08.2015
How do I make this dialogue? My mission system is based on some files, and gamemode I write / loadmission and just put a mission and if it does someone have to wait another mission to put everything in / loadmission. I tried something, but I do not put out at all ... missions with LoadMission
http://imgur.com/uGNnSwp
sorry for my english
![Sad](images/smilies/sad.gif)
but i need help !
Re: Missions Dialog. -
Mititel - 01.09.2015
UP?!??!
Re: Missions Dialog. -
khRamin78 - 02.09.2015
PHP код:
ShowPlayerDialog(playerid,<<your Dialog id>>,2,"Choose Mission Style:",">> Mission Difficult : Easy\n>> Mission Difficult : Normal\n>> Mission Difficult : Hard","select","Quit");
public OnDialogResponse(playerid,dialogid,response,listitem)
{
if(dialogid == <<Your Dialog id>>)
{
switch(listitem)
{
case 0: // is for easy
{
// do what you want to do here if player select this part
}
case 1: // is for normal
{
// do what you want to do here if player select this part
}
case 2: // is for hard
{
// do what you want to do here if player select this part
}
}
}
return 0; // you should use return 0;
}
And The Other Thing's is easly can feet by your self