Szerző Téma: Teleport  (Megtekintve 608 alkalommal)

Teleport
« Dátum: 2013. Július 30. - 17:30:54 »
+1 Show voters
Sziasztok
keszitettem egy dialogos teleportot.
keszitesi ido 5 perc
Relem tetszeni fog .
 
[/#include <a_samp>
#define DIALOG_RM 121
#if defined FILTERSCRIPT
CMD:teles(playerid,params[])
{
ShowPlayerDialog(playerid,DIALOG_RM,DIALOG_STYLE_LIST,\"Teleportok\",\"LS\\n sf\\n lv\\n lsair\\n raktar\\n KACC depo\\n KACC raktar\\n Los Antos Dokk\\n banya\\n doherty\\n El corona depo\\n Las paysadas\\n LVA .\",\"Teleportálok\",\"Megse\");
return 1;
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if ( dialogid == DIALOG_RM )
                {
                if( !response )
                {
                   if( listitem == 0)
                        {
            SetPlayerPos(playerid,2485.8440,-1669.4956,13.3359);
            }
          if( listitem == 1)
                        {
                       SetPlayerPos(playerid,1972.8893,290.9427,35.1719);
             }
                     if( listitem == 2)
                        {
                       SetPlayerPos(playerid,2153.1775,1671.9844,10.6875);
                       }
                      if( listitem == 3)
                        {
                       SetPlayerPos(playerid,1962.4187,-2501.7600,13.5391);
                       }
                      if( listitem == 4)
                        {
                       SetPlayerPos(playerid,1052.0804,2110.5264,10.8203);
                       }
                      if( listitem == 5)
                        {
                       SetPlayerPos(playerid,2539.2441,2807.7554,10.8203);
            }
           if( listitem == 6)
                        {
                       SetPlayerPos(playerid,2806.1685,2580.4419,10.8203);
                       }
                       if( listitem == 7)
                        {
                       SetPlayerPos(playerid,2592.3862,-2206.1101,17.3572);
                       }
                       if( listitem == 8)
                        {
                       SetPlayerPos(playerid,332.1386,899.7029,24.7752);
                       }
                       if( listitem == 9)
                        {
                       SetPlayerPos(playerid,2135.3462,-247.5000,35.9922);
                       }
                       if( listitem == 10)
                        {
                       SetPlayerPos(playerid,1766.8333,-2040.7000,13.5272);
                       }
                       if( listitem == 11)
                        {
                       SetPlayerPos(playerid,545.6445,2594.0000,53.5156);
                       }
                       if( listitem == 12)
                        {
                       SetPlayerPos(playerid,1457.0000,975.8350,10.8203);
                       }
                       #endif]

Nem elérhető gbr333

  • 670
    • Profil megtekintése
Teleport
« Válasz #1 Dátum: 2013. Július 30. - 19:05:22 »
0 Show voters
Kész katasztrófa..

Teleport
« Válasz #2 Dátum: 2013. Július 30. - 19:26:08 »
0 Show voters
miert ? .....

Nem elérhető Nátha

  • 1036
    • Profil megtekintése
Teleport
« Válasz #3 Dátum: 2013. Július 30. - 19:26:25 »
+1 Show voters
ZCMD-vel van megcsinálva, de nincs #include <zcmd> ?
Ez most hogy van ? :D

Nem elérhető gbr333

  • 670
    • Profil megtekintése
Teleport
« Válasz #4 Dátum: 2013. Július 30. - 19:37:09 »
0 Show voters
Idézetet írta: David123 date=1375205168\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"40645\" data-ipsquote-contentclass=\"forums_Topic
miert ? .....
 
Ez mi?
 

[/#include <a_samp>

 
Ez minek?
 

#if defined FILTERSCRIPT

 
És ez miért így?
 

#endif]

 
És sok helyen el vannak csúszva a bekezdések....

Nem elérhető Nátha

  • 1036
    • Profil megtekintése
Teleport
« Válasz #5 Dátum: 2013. Július 30. - 19:41:54 »
0 Show voters
Így érne valamit:
 
#include <a_samp>
   
#include <zcmd>
#define DIALOG_RM 121
CMD:teles(playerid,params[])
{
    ShowPlayerDialog(playerid,DIALOG_RM,DIALOG_STYLE_LIST,\"Teleportok\",\"LS\\n sf\\n lv\\n lsair\\n raktar\\n KACC depo\\n KACC raktar\\n Los Antos Dokk\\n banya\\n doherty\\n El corona depo\\n Las paysadas\\n LVA .\",\"Teleportálok\",\"Megse\");
    return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_RM)
{
    if(!response)
    {
        if( listitem == 0)
        {
        SetPlayerPos(playerid,2485.8440,-1669.4956,13.3359);
        }
        if( listitem == 1)
        {
        SetPlayerPos(playerid,1972.8893,290.9427,35.1719);
        }
        if( listitem == 2)
        {
        SetPlayerPos(playerid,2153.1775,1671.9844,10.6875);
        }
        if( listitem == 3)
        {
        SetPlayerPos(playerid,1962.4187,-2501.7600,13.5391);
        }
        if( listitem == 4)
        {
        SetPlayerPos(playerid,1052.0804,2110.5264,10.8203);
        }
        if( listitem == 5)
        {
        SetPlayerPos(playerid,2539.2441,2807.7554,10.8203);
        }
        if( listitem == 6)
        {
        SetPlayerPos(playerid,2806.1685,2580.4419,10.8203);
        }
        if( listitem == 7)
        {
        SetPlayerPos(playerid,2592.3862,-2206.1101,17.3572);
        }
        if( listitem == 8)
        {
        SetPlayerPos(playerid,332.1386,899.7029,24.7752);
        }
        if( listitem == 9)
        {
        SetPlayerPos(playerid,2135.3462,-247.5000,35.9922);
        }
        if( listitem == 10)
        {
        SetPlayerPos(playerid,1766.8333,-2040.7000,13.5272);
        }
        if( listitem == 11)
        {
        SetPlayerPos(playerid,545.6445,2594.0000,53.5156);
        }
        if( listitem == 12)
        {
        SetPlayerPos(playerid,1457.0000,975.8350,10.8203);
        }
    }
    return 1;
    }
return 0;
}
« Utoljára szerkesztve: 2013. Július 30. - 19:43:53 írta Nátha »

Nem elérhető gbr333

  • 670
    • Profil megtekintése
Teleport
« Válasz #6 Dátum: 2013. Július 30. - 19:46:32 »
0 Show voters
És nem lenne elég ez :
 

#define FILTERSCRIPT

Nem elérhető gyuri98

  • 153
  • gyuri98
    • Profil megtekintése
Teleport
« Válasz #7 Dátum: 2013. Július 31. - 12:52:32 »
0 Show voters
Legalább egységes lenne egyik helyen Los Santos másikon LSA most vagy össze vágtad és ennyire ....... vagy h legalább egységesek lennének a dialogba a meg nevezések vagy nem tudom h mit csináltál....... :wall:

Teleport
« Válasz #8 Dátum: 2013. Július 31. - 13:26:03 »
0 Show voters
xD nagyon fos

Nem elérhető TwisT3R

  • 576
  • Küklopsz
  • Discord: TwisT3R#7833
    • Profil megtekintése
    • Firing Squad Clan
Teleport
« Válasz #9 Dátum: 2013. Július 31. - 14:17:12 »
+2 Show voters
Idézetet írta: Scripter5 date=1375269963\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"40645\" data-ipsquote-contentclass=\"forums_Topic
xD nagyon fos
 
Elnézést, te vérprofi vagy.

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal