Jump to content

Marker Teleport


JuegosPato

Recommended Posts

Posted

Hola a todos, yo cree un marker teleport para teleportarse a un lugar, pero ahora quiero saber como crear un marker para teleportarse a un Interior.

Este es el script que cree:

local myMarker = createMarker( posX, posY, posZ, 'cylinder', 2.0, 255, 0, 0, 150 ) 
  
function MarkerHit( hitPlayer, matchingDimension ) 
   setElementPosition ( hitPlayer, posX, posY, posZ ) 
end 
addEventHandler( "onMarkerHit", myMarker, MarkerHit ) 

Ahora quiero las funciones para que se teleporten a un interior.

My nickname is: Pato

I am a good mapper, an apprentice in scripting and a talented in photoshop.

Scripting & Mapping server -bmx-

430x73.png

Posted

Entonces, es a si?.

local myMarker = createMarker( 1555.0463867188, -1675.6800537109, 17.036054611206, 'arrow', 1.79999995, 203, 155, 27, 3 ) 
  
function MarkerHit( hitPlayer, matchingDimension ) 
   setElementInterior ( HitPlayer , 10 , 247, 112, 1004 ) 
end 
addEventHandler( "onMarkerHit", myMarker, MarkerHit ) 

My nickname is: Pato

I am a good mapper, an apprentice in scripting and a talented in photoshop.

Scripting & Mapping server -bmx-

430x73.png

Posted
Tienes un error en el elemento de setElementInterior. (un error tonto xD)

hitPlayer

HitPlayer

Lol.Osea lo cambio el "HitPlayer" por hitPlayer.

My nickname is: Pato

I am a good mapper, an apprentice in scripting and a talented in photoshop.

Scripting & Mapping server -bmx-

430x73.png

Posted
Tienes un error en el elemento de setElementInterior. (un error tonto xD)

hitPlayer

HitPlayer

Lol.Osea lo cambio el "HitPlayer" por hitPlayer.

No pense que te fueras a equivocar asi, si cambialos

Posted

Si me anda!!Anda re bien pero el otro problema como ago un marker en un interiror?

My nickname is: Pato

I am a good mapper, an apprentice in scripting and a talented in photoshop.

Scripting & Mapping server -bmx-

430x73.png

Posted

Ya lo use.Pero necesito saber como crear un marker en un interior.

My nickname is: Pato

I am a good mapper, an apprentice in scripting and a talented in photoshop.

Scripting & Mapping server -bmx-

430x73.png

Posted
local myMarker = createMarker( posX, posY, posZ, 'cylinder', 2.0, 255, 0, 0, 150 ) 
setElementInterior(myMarker,1)--o tu sabes que numero de interior.. 

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...