Nos akkor leírom kompletten, mert anno használtam énis
if(strcmp(cmd, \"/help2\", true) == 0)
{
if(IsPlayerConnected(playerid))
{
ShowPlayerDialog(playerid, HELPMENU, DIALOG_STYLE_LIST, \"Help\",\"Karakter\\nChat\\nMunka\\nFrakciók\\nHázak\\nBizek\\nBank\\nAdmin\\nSzabályok\\nIrc \", \"Megnéz\", \"Elutasít\");
}
return 1;
}
if(strcmp(cmd, \"/kmenu\", true) == 0)
{
if(IsPlayerConnected(playerid))
{
ShowPlayerDialog(playerid, KMENU, DIALOG_STYLE_LIST, \"Help\",\"Karakter\\nKarakter\\nKarakter \", \"Megnéz\", \"Elutasít\");
}
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == HELPMENU)
{
if(response)
{
if(listitem == 0) //
{
ShowPlayerDialog(playerid, KMENU, DIALOG_STYLE_LIST, \"Karakter\",\"Karakter\\nKarakter2\\nKarakter3\", \"Megnéz\", \"Elutasít\");
}
if(listitem == 1) //
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, \"==================================================\");
SendClientMessage(playerid, COLOR_WHITE, \"Chat: /pme /cw /p /s /low /f /me /do /togooc /tognews\");
SendClientMessage(playerid, COLOR_WHITE, \"/togfam /togpm /togphone\");
SendClientMessage(playerid, COLOR_LIGHTGREEN, \"==================================================\");
}
if(listitem == 2) //
{
ShowPlayerDialog(playerid, JOBMENU, DIALOG_STYLE_LIST, \"Munkák\",\"Úttisztító\\nAutószerelo\\nÜgyvéd\\nFarmer\\nDetektív\\nProsti\\nDrogdíler\\nAutótolvaj\\nÚjságkihordó\\nBoxoló\\nTaxis\\nProdos\\nPizzás\\nDrogfarmer\\nDrogszállító\\nMaterialKereskedo\\nFegyverkészíto\", \"Megnéz\", \"Elutasít\");
}
if(listitem == 3) //
{
ShowPlayerDialog(playerid, FHELPMENU, DIALOG_STYLE_LIST, \"Frakcióhelp\",\"Lspd\\nLsMd\\nFBI\\nKatonaság\\nTaxis\\nBandák\\nOktató\", \"Megnéz\", \"Elutasít\");
}
if(listitem == 4) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/enter /exit /open /home /heal /houseupgrade (/hu) /setrentable /tv (off/player)\");
SendClientMessage(playerid, COLOR_WHITE, \"/evictall /setrent /evict /housewithdraw\");
}
if(listitem == 5) //
{
SendClientMessage(playerid, COLOR_WHITE, \"Bizhelp: /enter /exit /open /sellbiz /bizbank /bizwithdraw\");
SendClientMessage(playerid, COLOR_WHITE, \"/bizinfo /bizfee /bizname /prodprice /extortion\");
}
if(listitem == 6) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/bank /deposit /withdraw /transfer /wiretransfer\");
SendClientMessage(playerid, COLOR_WHITE, \"ATM: /atmdeposit /atmwithdraw\");
}
if(listitem == 7) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/ahelp (csak adminoknak)\");
}
if(listitem == //
{
SendClientMessage(playerid, COLOR_WHITE, \"Chatbe nem írhatsz smileyeket mint például: xD O.o :S err van a /b\");
SendClientMessage(playerid, COLOR_WHITE, \"Ok nélkül nem ölhetsz meg senkit mert az DM/Tiszteld az adminokat\");
SendClientMessage(playerid, COLOR_WHITE, \"A többiért www.futurerpg.hu\");
}
if(listitem == 9) //
{
SendClientMessage(playerid, COLOR_WHITE, \"(/irc join [channelnr] vagy /irc join [channelnr] [password]) (/irc leave\");
SendClientMessage(playerid, COLOR_WHITE, \"(/irc Password [channelnr]) (/irc NeedPass [channelnr]) (/irc Lock [channelnr])\");
SendClientMessage(playerid, COLOR_WHITE, \"(/irc Admins) (/irc MOTD [motdtext]) (/irc status [channelnr]) (/i [text])\");
}
}
}
if(dialogid == KMENU)
{
if(response)
{
if(listitem == 0) //
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, \"==================================================\");
SendClientMessage(playerid, COLOR_WHITE, \"/stats /changepass /levelup /upgrade\");
SendClientMessage(playerid, COLOR_WHITE, \"/pay /chairty /time /buy /unrentcar /unrentbike\");
SendClientMessage(playerid, COLOR_WHITE, \"/rentbike /switchkey /id /drink /clothes /opendoor\");
SendClientMessage(playerid, COLOR_LIGHTGREEN, \"==================================================\");
}
if(listitem == 1) //
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, \"==================================================\");
SendClientMessage(playerid, COLOR_WHITE, \"/resetupgrades /buygun /lock /skill /licenses\");
SendClientMessage(playerid, COLOR_WHITE, \"/showlicenses /report /animlist /stopanim /buygun\");
SendClientMessage(playerid, COLOR_WHITE, \"/fuel /report /coin /accept /eject /usedrugs\");
SendClientMessage(playerid, COLOR_LIGHTGREEN, \"==================================================\");
}
if(listitem == 2) //
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, \"==================================================\");
SendClientMessage(playerid, COLOR_WHITE, \"/cancel /contract /fill /admins /factionlist\");
SendClientMessage(playerid, COLOR_WHITE, \"(/w)indows /trunk /invertory /knock /knockout\");
SendClientMessage(playerid, COLOR_WHITE, \"/give /gateopen /sid /smoke\");
SendClientMessage(playerid, COLOR_LIGHTGREEN, \"==================================================\");
}
}
}
if(dialogid == JOBMENU)
{
if(response)
{
if(listitem == 0) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/startsweep /stopsweep\");
}
if(listitem == 1) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/repair /refill /tow /duty\");
}
if(listitem == 2) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/free\");
}
if(listitem == 3) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/startharvest /stopharvest\");
}
if(listitem == 4) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/find\");
}
if(listitem == 5) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/sex\");
}
if(listitem == 6) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/selldrugs\");
}
if(listitem == 7) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/dropcar\");
}
if(listitem == //
{
SendClientMessage(playerid, COLOR_WHITE, \"/papers /bring /deliver\");
}
if(listitem == 9) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/fight /boxstats\");
}
if(listitem == 10) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/fare\");
}
if(listitem == 11) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/buyprods /sellprods /load\");
}
if(listitem == 12) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/duty /sellpizza\");
}
if(listitem == 13) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/startdrugharvest /stopdrugharvest\");
}
if(listitem == 14) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/smuggledrugs /selldrugsto\");
}
if(listitem == 15) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/smugglemats /selldrugsto\");
}
if(listitem == 16) //
{
SendClientMessage(playerid, COLOR_WHITE, \"/creategun /buymats\");
}
}
}
return 1;
}
azt hiszem ennyi lenne
remélem tudtam segíteni! pacsi