Jump to content
  • 0

Teleport


eXtreMe96

Question

7 answers to this question

Recommended Posts

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

  {

        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Eroare:","Teleportare esuata!\n\n-Scuze dar nu te poti teleporta in alta zona cand esti in DM,scrie /kill pentru a iesi din DM.","OK","OMOARA-MA");

  SetPlayerInterior(playerid, 0);

  SetPlayerPosWV(playerid, 1339.67,-191.79,245.91);

  GameTextForPlayer(playerid, "~y~eXtreMe Jump", 4000, 6);

    ResetPlayerWeapons(playerid);

    return 1;

  }

lol

Link to comment
Share on other sites

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

  {

        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Eroare:","Teleportare esuata!\n\n-Scuze dar nu te poti teleporta in alta zona cand esti in DM,scrie /kill pentru a iesi din DM.","OK","OMOARA-MA");

  SetPlayerInterior(playerid, 0);

  SetPlayerPosWV(playerid, 1339.67,-191.79,245.91);

  GameTextForPlayer(playerid, "~y~eXtreMe Jump", 4000, 6);

    ResetPlayerWeapons(playerid);

    return 1;

  }

SetPlayerPosWV e din script, inseamna SetPlayerPosWithVehicle, inlocuiesti asta cu

SetPlayerPos(playerid, 1339.67,-191.79,245.91);
si va deveni
if(strcmp(cmdtext, "/ej", true) == 0)
{
    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Eroare:","Teleportare esuata!\n\n-Scuze dar nu te poti teleporta in alta zona cand esti in DM,scrie /kill pentru a iesi din DM.","OK","OMOARA-MA");
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 1339.67,-191.79,245.91);
    GameTextForPlayer(playerid, "~y~eXtreMe Jump", 4000, 6);
    ResetPlayerWeapons(playerid);
    return 1;
}

si nu te mai teleporteaza cu masina

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.