-
Posts
23 -
Joined
-
Last visited
About Lostron
- Birthday 18/07/1992
Lostron's Achievements
Civilian (7/54)
0
Reputation
-
Eso esta claro que lo he probado, tanto a subirle 1,2,3... como a escalarlo. Pero se sigue cayendo al subsuelo.
-
function teleport() Teleport1 = createMarker ( 1022.5, -1121, 22.99, "cylinder", 1, 0, 255, 255, 0, getRootElement() ) Teleport2 = createMarker ( 1006, -1114, 16, "arrow", 1, 0, 255, 255, 255, getRootElement() ) function MarkerHit( hitElement, matchingDimension ) setElementPosition ( hitElement, 1033, -1115, 24 ) end addEventHandler( "onMarkerHit", Teleport2, MarkerHit ) end addEventHandler ( "onResourceStart", getRootElement (), teleport ) function teleport() Teleport3 = createMarker (1006, -1114, 16, "arrow", 1, 0, 255, 255, 255, getRootElement() ) Teleport4 = createMarker (1022.5, -1121, 22.99, "cylinder", 1, 0, 255, 255, 0, getRootElement() ) function MarkerHit( hitElement, matchingDimension ) setElementPosition ( hitElement,1022.5, -1115, 16 ) end addEventHandler( "onMarkerHit", Teleport4, MarkerHit ) end addEventHandler ( "onResourceStart", getRootElement (), teleport )
-
El resource (Es un teleport) , si le subo la altura jsuto para que quede bien, la funcion del resource esta mas arriba y tengo k saltar alto para k funcione el teleport, ya que lo tengo k subir mucho para k el pickup no caiga, ya que este tiende a bajarse bajo tierra
-
Hola, hace ya tiempo colocaba pickup arrow en el map editor y al seleccionar la altura y todo eso cuando aceptaba se metía bajo tierra (a veces sin aceptar como en la foto), probé a ponerlos con un script que encontró mi hermano de colocar pickup y al probar con los arrow pasaba igual se metían bajo tierra. ¿Por que me pasa esto? Otra pregunta es que el otro día entre en un server y tenían pickups diferentes a los que estoy acostumbrado ver en el map editor y que todos tenemos (arrow, cilindre, etc), hay forma de cambiarlos o de meter mas?
-
Me puedes decir como se agregarian los turf en ese resource¿?
-
Las posiciones las saco del panel de f1 en el cual viene la "x" y la "y"
-
He probado a crealos turf en los santos y no aparecen.
-
Los turf que venian por defecto si que estan en esas posiciones, y en la consola aparecen tambien el que añadi yo, pero en el server no
-
SI,en la consola salen todas las posiciones.
-
SI, estoy con el gang creado y en el equipo de Criminals, he conkistado un turf y todo, y lo he reiniciado y sigue sin aparecer en turf que añadi.
-
--List Position Turfs local theTurfs = { { 2130, 630, 200, 100 }, { 2489, 681, 250, 130 }, { 1858, 623, 140, 165 }, { 1577, 663, 180, 130 }, { 1577, 943, 185, 190 }, { 1383, 909, 120, 230 }, { 956, 1011, 220, 140 }, { 1017, 1203, 180, 165 }, { 1017, 1383, 190, 290 }, { 917, 1623, 80, 220 }, { 1017, 1862, 140, 180 }, { 912, 1958, 90, 240 }, { 1017, 2063, 150, 300 }, { 1300, 2092, 200, 140 }, { 1398, 2323, 160, 65 }, { 1578, 2284, 180, 110 }, { 1237, 2581, 450, 130 }, { 1780, 2567, 130, 130 }, { 1698, 2724, 200, 150 }, { 2237, 2723, 180, 110 }, { 2498, 2704, 300, 140 }, { 2798, 2303, 120, 300 }, { 2557, 2243, 100, 230 }, { 2532, 2063, 100, 150 }, { 2558, 1624, 100, 300 }, { 2437, 1483, 160, 120 }, { 2077, 1203, 340, 170}, { 2082, 979, 270, 210 }, { 1936, 977, 270, 210} } function getTurfs () return theTurfs end --Function Money Win On Turf Taken Over function getAmountMoney ( ) return tonumber(3000) end --Function Send Message function sendMessageToPlayer ( thePlayer, message, r, b, g ) return outputChatBox(message, thePlayer, r, b, g) end --Function Send Message function getGangColor ( GangName ) return exports["groups-system"]:getGangColour(GangName) end --Function Check Is Player In Team Turfing function isPlayerInTeamTurfing ( thePlayer ) if ( isElement( thePlayer ) ) then local playerTeam = getPlayerTeam(thePlayer) local teamName = getTeamName(playerTeam) == "Criminals" if ( playerTeam ) and ( teamName ) then return true else return false end else return false end end --Function Get Gang Player function getPlayerGang ( thePlayer ) if ( isElement( thePlayer ) ) then local gang = getElementData(thePlayer, "gang" ) if ( gang ) then return tostring(gang) else return false end else return false end end Las cordenadas las puse bien, puse la "x" y la "y" de la zona en la que quería que estuviese el turf
-
Ya, lo de conquistar el turf ya me funciona, pero lo que sigue sin funcionarme es el añadir turf.
-
En el archivo truf_setting: --List Position Turfs local theTurfs = { { 2130, 630, 200, 100 }, { 2489, 681, 250, 130 }, { 1858, 623, 140, 165 }, { 1577, 663, 180, 130 }, { 1577, 943, 185, 190 }, { 1383, 909, 120, 230 }, { 956, 1011, 220, 140 }, { 1017, 1203, 180, 165 }, { 1017, 1383, 190, 290 }, { 917, 1623, 80, 220 }, { 1017, 1862, 140, 180 }, { 912, 1958, 90, 240 }, { 1017, 2063, 150, 300 }, { 1300, 2092, 200, 140 }, { 1398, 2323, 160, 65 }, { 1578, 2284, 180, 110 }, { 1237, 2581, 450, 130 }, { 1780, 2567, 130, 130 }, { 1698, 2724, 200, 150 }, { 2237, 2723, 180, 110 }, { 2498, 2704, 300, 140 }, { 2798, 2303, 120, 300 }, { 2557, 2243, 100, 230 }, { 2532, 2063, 100, 150 }, { 2558, 1624, 100, 300 }, { 2437, 1483, 160, 120 }, { 2077, 1203, 340, 170}, { 2082, 979, 270, 210 } } Añadi { 1936, 977, 270, 210} debajo de las demas cordenadas : ASI ... { 2558, 1624, 100, 300 }, { 2437, 1483, 160, 120 }, { 2077, 1203, 340, 170}, { 2082, 979, 270, 210 }, { 1936, 977, 270, 210} } ...
-
He probado lo que me dijiste pero el turf no aparece, añadi la x y la y de varias zonas pero el turf no aparece. Ademas he provado a ver si me funciona con un sistema de gang y cuando entro a capturar no funciona, sale esto en el MTA Server
