Szerző Téma: Teleport és lassú object betöltés  (Megtekintve 2373 alkalommal)

Teleport és lassú object betöltés
« Válasz #15 Dátum: 2012. Április 13. - 21:24:51 »
0 Show voters
Idézetet írta: ɐʞzssǝlosz date=1334342992\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20092\" data-ipsquote-contentclass=\"forums_Topic
Ahol lassan tölti be az objecteket ott nyomj egy F5 gombot és tartsd lenyomva majd olvasd le az \"ObjectSlotsUsed\" értékét, és írd ide.
 
az változó, több helyen is néztem 53, 50, 51

Nem elérhető zeteni

  • 1970
  • Ex-Scripter
    • Profil megtekintése
Teleport és lassú object betöltés
« Válasz #16 Dátum: 2012. Április 13. - 21:57:16 »
0 Show voters
A teleportosnál megnyitottad az if(response) asszem azt zárd le.

Teleport és lassú object betöltés
« Válasz #17 Dátum: 2012. Április 13. - 22:34:36 »
0 Show voters
Idézetet írta: zeteni date=1334347036\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20092\" data-ipsquote-contentclass=\"forums_Topic
A teleportosnál megnyitottad az if(response) asszem azt zárd le.
 
bevan :) de nem jó

Nem elérhető zeteni

  • 1970
  • Ex-Scripter
    • Profil megtekintése
Teleport és lassú object betöltés
« Válasz #18 Dátum: 2012. Április 13. - 22:36:59 »
0 Show voters
Idézetet írta: Falpar13 date=1334319600\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20092\" data-ipsquote-contentclass=\"forums_Topic
a legújabb streamer van
 

#include <a_samp>
#define Tele 1
 
public OnPlayerCommandText ( playerid, cmdtext[ ] )
{
    if ( strcmp ( cmdtext,\"/tele\", true ) == 0 )
    {
        ShowPlayerDialog ( playerid, Tele,2, \"Szerver teleportjai:\",\"SanFiero\\nLasVenturas\\nLosSantos\\nSFAIR\\nLVAIR\\nLSAIR\", \"Teleport\", \"Bezár\" );
        return 1;
    }
    return 0;
}
public OnDialogResponse ( playerid, dialogid, response, listitem, inputtext [ ] )
   { if(dialogid == Tele)
   {
   if(response)
   {
   if(listitem==0)
   {
   SetPlayerPos(playerid,-1981.810424,137.918487,27.687500);
   }
   if(listitem==1)
   {
   SetPlayerPos(playerid,2037.004394,1527.683593,10.820312);
   }
   if(listitem==2)
   {
   SetPlayerPos(playerid,2482.193359,-1688.578735,13.507812);
   }
   if(listitem==3)
   {
   SetPlayerPos(playerid,-1528.000000,-206.000000,14.148437);
   }
   if(listitem==4)
   {
   SetPlayerPos(playerid,1705.237915,1613.348022,10.153375);
   }
   if(listitem==5)
   {
   SetPlayerPos(playerid,2002.261840,-2421.807861,13.546875);
   }
   if(listitem==6)
   {
   SetPlayerPos(playerid,2281.907226,2428.223144,10.820312);
   }
}
   }
   return 0;
}

 

Nem látom, hogy belenne  :hihi:

Teleport és lassú object betöltés
« Válasz #19 Dátum: 2012. Április 14. - 08:39:35 »
0 Show voters
Idézetet írta: zeteni date=1334349419\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20092\" data-ipsquote-contentclass=\"forums_Topic


a legújabb streamer van
 

#include <a_samp>
#define Tele 1
 
public OnPlayerCommandText ( playerid, cmdtext[ ] )
{
    if ( strcmp ( cmdtext,\"/tele\", true ) == 0 )
    {
        ShowPlayerDialog ( playerid, Tele,2, \"Szerver teleportjai:\",\"SanFiero\\nLasVenturas\\nLosSantos\\nSFAIR\\nLVAIR\\nLSAIR\", \"Teleport\", \"Bezár\" );
        return 1;
    }
    return 0;
}
public OnDialogResponse ( playerid, dialogid, response, listitem, inputtext [ ] )
   { if(dialogid == Tele)
   {
   if(response)
   {
   if(listitem==0)
   {
   SetPlayerPos(playerid,-1981.810424,137.918487,27.687500);
   }
   if(listitem==1)
   {
   SetPlayerPos(playerid,2037.004394,1527.683593,10.820312);
   }
   if(listitem==2)
   {
   SetPlayerPos(playerid,2482.193359,-1688.578735,13.507812);
   }
   if(listitem==3)
   {
   SetPlayerPos(playerid,-1528.000000,-206.000000,14.148437);
   }
   if(listitem==4)
   {
   SetPlayerPos(playerid,1705.237915,1613.348022,10.153375);
   }
   if(listitem==5)
   {
   SetPlayerPos(playerid,2002.261840,-2421.807861,13.546875);
   }
   if(listitem==6)
   {
   SetPlayerPos(playerid,2281.907226,2428.223144,10.820312);
   }
}
   }
   return 0;
}

 

Nem látom, hogy belenne  :hihi:
 
[/quote]
áá magas ez még nekem :D bezárnád?

Nem elérhető zeteni

  • 1970
  • Ex-Scripter
    • Profil megtekintése
Teleport és lassú object betöltés
« Válasz #20 Dátum: 2012. Április 14. - 15:54:20 »
0 Show voters
#include <a_samp>
#define Tele 1
 
public OnPlayerCommandText ( playerid, cmdtext[ ] )
{
    if ( strcmp ( cmdtext,\"/tele\", true ) == 0 )
    {
        ShowPlayerDialog ( playerid, Tele,2, \"Szerver teleportjai:\",\"SanFiero\\nLasVenturas\\nLosSantos\\nSFAIR\\nLVAIR\\nLSAIR\", \"Teleport\", \"Bezár\" );
        return 1;
    }
    return 0;
}
public OnDialogResponse ( playerid, dialogid, response, listitem, inputtext [ ] )
   { if(dialogid == Tele)
   {
   if(!response)
   {
   SendClientMessage (playerid, szin, \"Kiléptél a Dialogból!\" );
              return 1;
    }
   if(listitem==0)
   {
   SetPlayerPos(playerid,-1981.810424,137.918487,27.687500);
   }
   if(listitem==1)
   {
   SetPlayerPos(playerid,2037.004394,1527.683593,10.820312);
   }
   if(listitem==2)
   {
   SetPlayerPos(playerid,2482.193359,-1688.578735,13.507812);
   }
   if(listitem==3)
   {
   SetPlayerPos(playerid,-1528.000000,-206.000000,14.148437);
   }
   if(listitem==4)
   {
   SetPlayerPos(playerid,1705.237915,1613.348022,10.153375);
   }
   if(listitem==5)
   {
   SetPlayerPos(playerid,2002.261840,-2421.807861,13.546875);
   }
   if(listitem==6)
   {
   SetPlayerPos(playerid,2281.907226,2428.223144,10.820312);
   }
}
   }
   return 0;
}

 

Dupla hozzászólás automatikusan összefûzve. ( 2012. Április 14. - 15:55:01 )

Így próbáld meg  ;D

Teleport és lassú object betöltés
« Válasz #21 Dátum: 2012. Április 14. - 19:03:27 »
0 Show voters
Idézetet írta: zeteni date=1334411660\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20092\" data-ipsquote-contentclass=\"forums_Topic

#include <a_samp>
#define Tele 1
 
public OnPlayerCommandText ( playerid, cmdtext[ ] )
{
    if ( strcmp ( cmdtext,\"/tele\", true ) == 0 )
    {
        ShowPlayerDialog ( playerid, Tele,2, \"Szerver teleportjai:\",\"SanFiero\\nLasVenturas\\nLosSantos\\nSFAIR\\nLVAIR\\nLSAIR\", \"Teleport\", \"Bezár\" );
        return 1;
    }
    return 0;
}
public OnDialogResponse ( playerid, dialogid, response, listitem, inputtext [ ] )
   { if(dialogid == Tele)
   {
   if(!response)
   {
   SendClientMessage (playerid, szin, \"Kiléptél a Dialogból!\" );
              return 1;
    }
   if(listitem==0)
   {
   SetPlayerPos(playerid,-1981.810424,137.918487,27.687500);
   }
   if(listitem==1)
   {
   SetPlayerPos(playerid,2037.004394,1527.683593,10.820312);
   }
   if(listitem==2)
   {
   SetPlayerPos(playerid,2482.193359,-1688.578735,13.507812);
   }
   if(listitem==3)
   {
   SetPlayerPos(playerid,-1528.000000,-206.000000,14.148437);
   }
   if(listitem==4)
   {
   SetPlayerPos(playerid,1705.237915,1613.348022,10.153375);
   }
   if(listitem==5)
   {
   SetPlayerPos(playerid,2002.261840,-2421.807861,13.546875);
   }
   if(listitem==6)
   {
   SetPlayerPos(playerid,2281.907226,2428.223144,10.820312);
   }
}
   }
   return 0;
}

 

Dupla hozzászólás automatikusan összefûzve. ( 2012. Április 14. - 15:55:01 )

Így próbáld meg  ;D
 
tele van így errorral
[pawn]C:\\Documents and Settings\\Falpar\\Asztal\\asdasd\\filterscripts\\teleport.pwn(21) : error 029: invalid expression, assumed zero
C:\\Documents and Settings\\Falpar\\Asztal\\asdasd\\filterscripts\\teleport.pwn(21) : warning 215: expression has no effect
C:\\Documents and Settings\\Falpar\\Asztal\\asdasd\\filterscripts\\teleport.pwn(21) : error 001: expected token: \";\", but found \")\"
C:\\Documents and Settings\\Falpar\\Asztal\\asdasd\\filterscripts\\teleport.pwn(21) : error 029: invalid expression, assumed zero
C:\\Documents and Settings\\Falpar\\Asztal\\asdasd\\filterscripts\\teleport.pwn(21) : fatal error 107: too many error messages on one line
[/pawn]

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal