Jump to content
  • 0

alta intrebare xD


Flyer-Satyr

Question

salut ,

am 2 comenzi :

    if(strcmp(cmdtext, "/enter", true) == 0)

    {

if (PlayerToPoint(5,playerid,1199.3262,-918.8288,43.1176))

{

  SetPlayerPos(playerid,363.3223,-74.8385,1001.5078);

  SetPlayerInterior(playerid,10);

      format(string, sizeof(string), "~b~~h~Burger Shot ");

      GameTextForPlayer(playerid, string, 1000, 1);

  return 1;

}

}

    if(strcmp(cmdtext, "/exit", true) == 0)

    {

if (PlayerToPoint(5,playerid,363.3223,-74.8385,1001.5078))

{

  SetPlayerPos(playerid,1199.3262,-918.8288,43.1176);

  SetPlayerInterior(playerid,0);

  return 1;

}

}

if(strcmp(cmdtext, "/enter", true) == 0)

    {

if (PlayerToPoint(5,playerid,811.1187,-1616.4012,13.5469))

{

  SetPlayerPos(playerid,363.3223,-74.8385,1001.5078);

  SetPlayerInterior(playerid,10);

      format(string, sizeof(string), "~b~~h~Burger Shot ");

      GameTextForPlayer(playerid, string, 1000, 1);

      SetPlayerVirtualWorld(playerid,10);

  return 1;

}

}

    if(strcmp(cmdtext, "/exit", true) == 0)

    {

if (PlayerToPoint(5,playerid,363.3223,-74.8385,1001.5078))

    {

        SetPlayerPos(playerid,811.1187,-1616.4012,13.5469);

            SetPlayerInterior(playerid,0);

    SetPlayerVirtualWorld(playerid,0);

    return 1;

}

}

dupa cum vedeti , la aman2a comenzile este aceeasi coordonata , mai exact la un interior

dar cand aplic /exit la a 2'a pozitie , al 2'lea /enter , ma teleporteaza la primul /enter :|

am incercat cu virtual world .. dar nu merge

cum pot face  , de unde am dat enter , tot acolo sa ma dea si la exit ?

ma ajuta cineva ? :D

metallica-logo.jpg
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

salut ,

am 2 comenzi :

dupa cum vedeti , la aman2a comenzile este aceeasi coordonata , mai exact la un interior

dar cand aplic /exit la a 2'a pozitie , al 2'lea /enter , ma teleporteaza la primul /enter :|

am incercat cu virtual world .. dar nu merge

cum pot face  , de unde am dat enter , tot acolo sa ma dea si la exit ?

ma ajuta cineva ? :D

vezi asa cum ti-am facut eu!

Adica ti-am editat in quote

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.