Como criar teleport
#1

Tipo eu tenho cordenada so explo

Код:
#include <a_samp>

public OnFilterScriptInit()
{ 
	CreateObject(3996,-660.47375488281,-1834.7783203125,81.38892364502,0,0,0);
	CreateObject(4133,-652.48095703125,-1875.6082763672,79.471313476563,0,0,0);
	CreateObject(4146,-583.88305664063,-1899.1687011719,80.69660949707,0,0,0);
	CreateObject(4152,-617.00238037109,-1860.9626464844,81.193725585938,0,0,0);
	CreateObject(4182,-520.36865234375,-1901.8972167969,79.473373413086,0,6,95);
fis esse lugar como fasso para criar teleport para ae ? tipo/queroir /voar tanto faz
Reply
#2

SetPlayerPost(playerid,X,Y,Z);
Reply
#3

e o comando
Reply
#4

if (strcmp(cmdtext,"/aki nome...EX:/garagem",true)==0)
{
SendClientMessage(playerid,COLOR_GRAD1,"- aki mensagem.");
SetPlayerPos(playerid,X,Y,Z);
}

espero ter ajudado...
Reply
#5

Caracas Uses Search!

http://forum.sa-mp.com/showthread.ph...ar+Coordenadas
Reply
#6

te amo

Garfield
Reply
#7

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext,"/voar",true)==0) //Comando usado pelo "mбgico"
{
SendClientMessage(playerid,COLOR_GRAD1,"Usou seu kit de mбgica mister reme (-q) e foi teleportado."); //Mensagem
SetPlayerPos(playerid,X,Y,Z); //Cordenadas XYZ.
}
Reply
#8

Esqueceram do return 1; no final dos dois comandos (do maluku102 e do Lucas Nicolas)..

@OFF:
This forum requires that you wait 120 seconds between posts. Please try again in 4 seconds.
¬¬
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)