SA-MP Forums Archive
[Ajuda] Como Criar Tele?? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Como Criar Tele?? (/showthread.php?tid=564191)



Como Criar Tele?? - J4S0N - 20.02.2015

Por Favor sou iniciante me ajudem

OBS:Se possivel nao coloquem links mandando ir pra topicos antigos se tiver como coloca ai o mais recente


Re: Como Criar Tele?? - zNaNKinG - 20.02.2015

comando de teleport ?

fбcil usa SetPlayerPos
Код:
SetPlayerPos(playerid,x,y,z);



Re: Como Criar Tele?? - JkS - 20.02.2015

Cara jб tentou pesquisar aqui?


Re: Como Criar Tele?? - Rodney Francalim - 20.02.2015

Teletransporte nada mais й do que o simples uso da funзгo SetPlayerPos.

pawn Код:
SetPlayerPos(playerid, Float:x, Float:y, Float:z);
Mas й claro que existem outros detalhes, como o interior e o virtual world do jogador.

pawn Код:
SetPlayerInterior(playerid, interiorid);
SetPlayerVirtualWorld(playerid, virtualworldid);
Por comando й muito simples:

pawn Код:
if(!strcmp(cmdtext, "/centrodomundo", false))
{
    SetPlayerPos(playerid, 0, 0, 0);
    SetPlayerInterior(playerid, 0);
    SetPlayerVirtualWorld(playerid, 0);

    return 1;
}



Re: Como Criar Tele?? - JonathanFeitosa - 20.02.2015

PHP код:
SetPlayerPos(playerid,Float:x,Float:y,Float:z); 
Vocк pode pegar as coordenadas x, y, z utilizando /save in-game. Acima vocк pode encontrar uma explicaзгo mais detalhada.

Tente pesquisar antes de criar tуpicos como este. Indubitavelmente essa pergunta jб foi respondida vбrias vezes. Mesmo vocк sendo um novato e iniciante, vocк deve conhecer as regras.

Quote:
Originally Posted by LuxurioN™
Посмотреть сообщение
  • PESQUISAR antes de perguntar, a maioria das questхes jб foram respondidas!