Me again, need help!
#1

Hey! So, now i have to make a teleport, right into those coordinates of objects:

CreateObject(8040, 3206.15625, -2486.5808105469, 2750.2436523438, 0.000000, 0.000000, 0.000000);

( its a marker i know, )
how to i tele into it, like, what are the coordinates for SetPlayerPos?

Here's the teleport command itself:

pawn Код:
if(strcmp(cmdtext, "/dj", true) == 0)
  {
    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
        SetPlayerInterior(playerid, 0);
        SetPlayerPos(playerid, coordshere ( how ));
        GameTextForPlayer(playerid, "~y~Death Jump", 4000, 6);
    ResetPlayerWeapons(playerid);
      new name[MAX_PLAYER_NAME], string[100];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "[TELEPORT] %s teleported to death jump (/dj)", name );
    SendClientMessageToAll(COLOR_TELEPORT, string);
        return 1;
  }
Reply
#2

Код:
CreateObject(8040, 3206.15625, -2486.5808105469, 2750.2436523438, 0.000000, 0.000000, 0.000000);
Coordinates are:

Код:
3206.15625, -2486.5808105469, 2750.2436523438
Reply
#3

pawn Код:
if(strcmp(cmdtext, "/dj", true) == 0)
{
if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 3206.15625, -2486.5808105469, 2750.2436523438);
GameTextForPlayer(playerid, "~y~Death Jump", 4000, 6);
ResetPlayerWeapons(playerid);
new name[MAX_PLAYER_NAME], string[100];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "[TELEPORT] %s teleported to death jump (/dj)", name );
SendClientMessageToAll(COLOR_TELEPORT, string);
return 1;
}
_____________________

Btw, mu vana XSv2 GM ?
Reply
#4

No estonian here, but command copied, if i will make /credits, you'll get some of it
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)