leobi96 Posted December 2, 2012 Author Share Posted December 2, 2012 sii mira solidsnake haci esta configurado no se si estoy haciendo algo mal para entrar si esta todo bien pero para salir no puedo local nigthafuera = createMarker ( 2421.45239, -1220.27234, 24.4, "cylinder", 1.5, 219, 35, 208, 170 ) function teleport ( hitPlayer ) if ( getElementType ( hitPlayer ) == "player" ) then setElementInterior ( hitPlayer, 2, 1205.27722, -12.37278, 1000.92188 ) end end addEventHandler ( "onMarkerHit", nigthafuera, teleport ) local dentro = createMarker ( 1204.8000488281, -13.699999809265, 999.7, "cylinder", 1.5, 219, 35, 208, 170 ) function teleport ( hitPlayer ) if ( getElementType ( hitPlayer ) == "player" ) then setElementInterior ( hitPlayer, 0, 2421.66333, -1221.85645, 25.39237 ) end end addEventHandler ( "onMarkerHit", dentro, teleport ) Link to comment
Castillo Posted December 2, 2012 Share Posted December 2, 2012 local nigthafuera = createMarker ( 2421.45239, -1220.27234, 24.4, "cylinder", 1.5, 219, 35, 208, 170 ) function teleport ( hitPlayer ) if ( getElementType ( hitPlayer ) == "player" ) then setElementInterior ( hitPlayer, 2, 1205.27722, -12.37278, 1000.92188 ) end end addEventHandler ( "onMarkerHit", nigthafuera, teleport ) local dentro = createMarker ( 1204.8000488281, -13.699999809265, 999.7, "cylinder", 1.5, 219, 35, 208, 170 ) setElementInterior ( dentro, 3 ) function teleportSalir ( hitPlayer ) if ( getElementType ( hitPlayer ) == "player" ) then setElementInterior ( hitPlayer, 0, 2421.66333, -1221.85645, 25.39237 ) end end addEventHandler ( "onMarkerHit", dentro, teleportSalir ) Link to comment
leobi96 Posted December 2, 2012 Author Share Posted December 2, 2012 Gracias lo provare Edit: men igual no funciono no creo la marca dentro del lugar Link to comment
NodZen Posted December 2, 2012 Share Posted December 2, 2012 Copiaste Bien el codigo? y reiniciaste tu server/resource?. Link to comment
leobi96 Posted December 3, 2012 Author Share Posted December 3, 2012 Si men todolo hize bien lo copie bn reinicie todo de nuevo y no la crea Link to comment
Arsilex Posted December 4, 2012 Share Posted December 4, 2012 estas seguro que el ID de tu interior es el 3? Link to comment
leobi96 Posted December 4, 2012 Author Share Posted December 4, 2012 https://wiki.multitheftauto.com/wiki/Interior_IDs men revisando y todo si es el id 3 = LVPD HQ 289.7703 171.7460 1007.1790 Link to comment
Recommended Posts