Jump to content

#RooTs

Members
  • Posts

    1,990
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by #RooTs

  1. released https://community.multitheftauto.com/ind ... s&id=10638
  2. pelo que eu saiba, não tem como, muita gente tentou exportar a animação "gangnam style" para o MTA na epoca do "auge" da musica, mais ninguém teve sucesso, então acho que não tem como exportar a animação de deitar.
  3. Original Script : https://community.multitheftauto.com/ind ... s&id=10615 Fake/stolen: https://community.multitheftauto.com/index.php?p= ... s&id=10626 DONE
  4. do not know if he remade or something more is equal original: https://community.multitheftauto.com/ind ... ls&id=7254 Stolen: https://community.multitheftauto.com/ind ... s&id=10623 DONE
  5. yes, working without bugs or apparent bugs thanks man
  6. the table that I did, just is not working if anyone knows add 2 tables with 2 different positions, please help me (Without the table it works perfectly, more wanted to add more places in the same script without duplicating it in several files) OBS: are 2 tables position 1 = createmaker -- table 01 position 2 createVehicle -- table 02 my script without the table createBlip ( 1534.68079, -1353.91235, 328 , 48 ) maker = createMarker(1534.68079, -1353.91235, 328,"cylinder",1.5,230,0,85,225) local Helli = { } function teste(hitElement) if ( isPedInVehicle ( hitElement ) ) then else if (source == maker) then if isElement ( Helli [ hitElement ] ) then destroyElement ( Helli [ hitElement ] ) end Helli [ hitElement ] = createVehicle ( 487, 1544.40454, -1353.25867, 329.47440 , 0, 0, 0 ) warpPlayerIntoVehicle ( hitElement, Helli [ hitElement ] ) end end end addEventHandler ("onMarkerHit",root,teste) addEventHandler ( "onVehicleExplode", resourceRoot, function ( ) destroyElement ( source ) end ) addEventHandler ( "onPlayerQuit", root, function ( ) if ( isElement ( Helli [ source ] ) ) then destroyElement ( Helli [ source ] ) end Helli [ source ] = nil end ) Look image
  7. it has no errors, more. only works 1 Example: local Positions2 = { { -2237.92749, 2328.21558, 6.4 }, -- no work { 2577.23926, -1119.34814, 80.5 }, -- no work { 1532.44519, -1350.25830, 328 }, -- work } or { { -2237.92749, 2328.21558, 6.4 }, -- no work { 2577.23926, -1119.34814, 80.5 }, -- work -- { 1532.44519, -1350.25830, 328 }, } not to mention that. when I create one, heli. other point is also created sorry my English
  8. Hello friends, I'm having trouble on my table. I did a heliport script, however I tried to add a table to it, createBlip ( 1534.68079, -1353.91235, 328 , 48 ) maker = createMarker(1534.68079, -1353.91235, 328,"cylinder",1.5,230,0,85,225) local Helli = { } function teste(hitElement) if ( isPedInVehicle ( hitElement ) ) then else if (source == maker) then if isElement ( Helli [ hitElement ] ) then destroyElement ( Helli [ hitElement ] ) end Helli [ hitElement ] = createVehicle ( 487, 1544.40454, -1353.25867, 329.47440 , 0, 0, 0 ) warpPlayerIntoVehicle ( hitElement, Helli [ hitElement ] ) end end end addEventHandler ("onMarkerHit",root,teste) addEventHandler ( "onVehicleExplode", resourceRoot, function ( ) destroyElement ( source ) end ) addEventHandler ( "onPlayerQuit", root, function ( ) if ( isElement ( Helli [ source ] ) ) then destroyElement ( Helli [ source ] ) end Helli [ source ] = nil end ) most did not work out what's wrong with it? local Positions2 = { { -2237.92749, 2328.21558, 6.4 }, { 2577.23926, -1119.34814, 80.5 }, -- { 1532.44519, -1350.25830, 328 } } --------------------------------- local Positions1 = { { -2227.85522, 2326.74170, 7.54688, 0, 0, 0 }, { 2592.02979, -1123.67065, 80.94149, 0, 0, 180 }, --{ 1544.21667, -1353.34680, 329.47424, 0, 0, 0 } } local vehicleID = 487 -- maverick for index2 = 1, #Positions2 do createBlip ( Positions2 [ index2 ] [ 1 ], Positions2 [ index2 ] [ 2 ], Positions2 [ index2 ] [ 3 ], 5 ) maker = createMarker(Positions2 [ index2 ] [ 1 ], Positions2 [ index2 ] [ 2 ], Positions2 [ index2 ] [ 3 ], "cylinder",1.5,230,0,85,225) end local Helli = { } function teste(hitElement) if ( isPedInVehicle ( hitElement ) ) then else if (source == maker) then if isElement ( Helli [ hitElement ] ) then destroyElement ( Helli [ hitElement ] ) end for index1 = 1, #Positions1 do Helli [ hitElement ] = createVehicle ( vehicleID, Positions1 [ index1 ] [ 1 ], Positions1 [ index1 ] [ 2 ], Positions1 [ index1 ] [ 3 ] , Positions1 [ index1 ] [ 4 ], Positions1 [ index1 ] [ 5 ], Positions1 [ index1 ] [ 6 ] ) end warpPlayerIntoVehicle ( hitElement, Helli [ hitElement ] ) end end end addEventHandler ("onMarkerHit",root,teste) addEventHandler ( "onVehicleExplode", resourceRoot, function ( ) destroyElement ( source ) end ) addEventHandler ( "onPlayerQuit", root, function ( ) if ( isElement ( Helli [ source ] ) ) then destroyElement ( Helli [ source ] ) end Helli [ source ] = nil end )
  9. Update Resources with model TXD and DFF https://community.multitheftauto.com/ind ... s&id=10595 https://community.multitheftauto.com/index.php?p= ... ls&id=6976 https://community.multitheftauto.com/index.php?p= ... ls&id=6803 Know before could and still is in the community, I start putting the my with model TXD and DFF if the rules are there, and no one meets. to that having rules?
  10. esto esperando novos scripts seus, gostei de alguns de seus scripts
  11. Textures https://community.multitheftauto.com/index.php?p= ... ls&id=6803 https://community.multitheftauto.com/index.php?p= ... ls&id=6976
  12. Não, você pode postar qualquer resource que achou útil pra você. Nome da resource: sf-roads Descrição: Substitui 98% das ruas de San Fierro por outras mais bonitas Download: Comunity MTASA TEXTURAS não pode, isso foi postado sem os moderadores ver. quer coisa meu perfil na comunidade é https://community.multitheftauto.com/index.php?p= ... &id=349303
  13. @Iaan(~C.A.) Perfect Working, thanks Saving visits in sql, and not repeat the same visits of player sorry staff. more you(s) not understand my English
  14. ahh entendi é uma lista de Scripts que cada um crio ? é isso ?
  15. Update and no work you know I'm not professional about it someone help me?
  16. what's wrong? Client: local screenW,screenH = guiGetScreenSize() local resW, resH = 1280, 720 local x, y = (screenW/resW), (screenH/resH) local myFont = dxCreateFont( "info/font.ttf", 10 ) local player = getLocalPlayer() function DXINFO ( ) local visit = getElementData(getLocalPlayer(), "uniqueHits") dxDrawText("Visitas"..visit ,x*310+alin, y*660+mais, x*310, y*40,tocolor(255, 255, 255,Text+100),1.0,myFont,"left","top",false,false,false,true) end function toggleRadar() if isVisible then addEventHandler("onClientRender", root, DXINFO) else removeEventHandler("onClientRender", root, DXINFO) end isVisible = not isVisible end bindKey ("F11", "down", toggleRadar) addEventHandler("onClientRender", root, DXINFO) Server: local serials = {} function onPlayerJoin() local serial = getPlayerSerial(source) if serials[serial] then else serials[serial] = serial end setElementData(source, "uniqueHits", CountHits) addEventHandler("onPlayerJoin",root,onPlayerJoin) function CountHits() local hits = 0 for i,v in pairs(serials) do hits = hits + 1 end return hits end function onResourceStart() local file = fileOpen("pc.txt") if file then size = fileGetSize(file) buffer = fileRead(file,size) serials = fromJSON(buffer) fileClose(file) end end addEventHandler("onResourceStart", resourceRoot, onResourceStart) function onResourceStop() local file = fileCreate("pc.txt") fileWrite(file, toJSON(serials)) fileClose(file) end addEventHandler("onResourceStop", resourceRoot, onResourceStop)
  17. seria melhor vc procura em blogs, tem muitos que posta coisas pra MTA procure por ( mods mta sa brasil ) no google
×
×
  • Create New...