GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: Packman - 2013. augusztus 21. - 21:56:51

Cím: billentyu parancsok
Írta: Packman - 2013. augusztus 21. - 21:56:51
Milyen billentyukel lehet parancsot helyetesiteni? És hogy?
Pl: ki/be jarkalas = F.
Cím: billentyu parancsok
Írta: ZyZu. - 2013. augusztus 21. - 22:15:19
Erre gondolsz? mert itt van egy táblázat: http://wiki.sa-mp.com/wiki/Keys
Cím: billentyu parancsok
Írta: Packman - 2013. augusztus 21. - 22:19:51
Aha koszi :)
Es dialoghoz hogy kell animot kotni?(Nem akartam uj temat nyitni)
Cím: billentyu parancsok
Írta: ZyZu. - 2013. augusztus 21. - 23:06:08
Ezt hogy érted? miútán kéne neked? rákattint a dialogra majd elindul egy anim? vagy?
Cím: billentyu parancsok
Írta: Packman - 2013. augusztus 21. - 23:25:41
Hat elojon a dialog es ott rakatol valamire es elkezdi az animot
Cím: billentyu parancsok
Írta: Nasika - 2013. augusztus 21. - 23:57:35
Idézetet írta: Packman date=1377120341\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"41665\" data-ipsquote-contentclass=\"forums_Topic
Hat elojon a dialog es ott rakatol valamire es elkezdi az animot
 

#define DIALOG_ANIM 0
ShowPlayerDialog(playerid,DIALOG_ANIM,DIALOG_STYLE_LIST,\"Animok\",\"1. anim\\n2.anim\\n3.anim\",\"Oké\",\"Exit\");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_ANIM)
    {
if(response)
{
   if(listitem == 0)
   {
      //ide az anim lejátszása.......
   }
   if(listitem == 1)
   {
                //ide az anim lejátszása.......
   }
   if(listitem == 2)
   {
                //ide az anim lejátszása.......
   }
}
}
    return 1;
}