Ryosuke

Members
  • Content count

    39
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About Ryosuke

  • Rank
    Rat
  • Birthday 15/07/1998

Details

  • Gang
    ll

Recent Profile Visitors

482 profile views
  1. Ryosuke

    HELP - check name and ID by table

    thanks bro
  2. Ryosuke

    HELP - LOD OBJECT SCRIPT

    It is not my friend. this map I'm modeling especially for mta sa I plan to use it for an open world racing server
  3. Ryosuke

    HELP - LOD OBJECT SCRIPT

    Thank you very much, it helped me solve a big problem. Thanks
  4. Ryosuke

    HELP - LOD OBJECT SCRIPT

    Hi, I modeled a map and would like to break the field-of-view limit. there is a limit of 300 units of the distance object, how can I make to make all objects visible from a greater distance? txd = engineLoadTXD ( "1.txd" ) engineImportTXD ( txd, 1515 ) dff = engineLoadDFF ( "1.dff" ) engineReplaceModel ( dff, 1515 ) col = engineLoadCOL( "1.col" ) engineReplaceCOL( col, 1515 ) engineSetModelLODDistance(1515, 300)
  5. Ryosuke

    IDLE sound engine car

    Hello, I need help to complete a slow idle script for the vehicle, but I just could not get a good result, if you can help me, thank you! RX7_sound = { {"001.wav",494}, } function replacesound(player) for i,OBJ in ipairs(RX7_sound) do vehicle = getPedOccupiedVehicle (OBJ[2]) if vehicle then sound = playSound (OBJ[1],looped = true) setSoundVolume(sound, 0.5) setSoundMaxDistance(sound,25) end end end addEventHandler("onClientResourceStart",root,replacesound)
  6. Ryosuke

    Simplified object script - help

    that's right I needed, thank you just finished saving me worked perfectly
  7. Hi, I'd like some help solving the problems in my script. it substitutes objects per table, but I can not verify the name and ID and give the correct functions to run everything, someone to help? Garage_OBJ_COL = { {"garage_1.col",1484}, {"garage_2.col",1485}, } function replacemodels(player) for i,OBJ in ipairs(Garage_OBJ_COL) do table.insert (engineLoadCOL,{OBJ[1]}) table.insert (engineReplaceCOL,{OBJ[2]}) end end addEventHandler("onResourceStart",root,replacemodels)
  8. Ryosuke

    Simplified object script - help

    to work I just need to make it check the name and ID and give the function, just do not know why it does not work function replacemodels(player) for i,OBJ in ipairs(Garage_OBJ_COL) do table.insert (engineLoadCOL,{OBJ[1]}) table.insert (engineReplaceCOL,{OBJ[2]}) end end addEventHandler("onResourceStart",root,replacemodels)
  9. Ryosuke

    Simplified object script - help

    thanks for help me
  10. Ryosuke

    Simplified object script - help

    I need help to create this script that replaces objects across a table, thus getting more practical and quick to convert objects Garage_OBJ_DFF = { {"garage_1.dff",1455}, {"garage_2.dff",1455}, } Garage_OBJ_TXD = { {"garage_1.txd",1455}, {"garage_1.txd",1484}, } Garage_OBJ_COL = { {"garage_1.col",1484}, {"garage_2.col",1484}, } function replacemodels(player) for i,object1,object2 in ipairs(Garage_OBJ_DFF) do table.insert(object1[1],object2[2]) object1 = engineLoadDFF object2 = engineReplaceModel end for i,object1,object2 in ipairs(Garage_OBJ_TXD) do table.insert(object1[1],object2[2]) object1 = engineLoadTXD object2 = engineImportTXD end for i,object1,object2 in ipairs(Garage_OBJ_COL) do table.insert(object1[1],object2[2]) object1 = engineLoadCOL object2 = engineReplaceCOL end end addEventHandler("onClientRender",root,replacemodels)
  11. Ryosuke

    Handling Editor System

    Hi, I need help creating a DX bar that when moved by the mouse it changes the acceleration of the vehicle function bar move () move = dxDrawImage(x*35, y*60, x*230, y*58, "bar.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) setVehicleHandling(v, "engineAcceleration", move ) end
  12. Ryosuke

    Realistic sound box script help

    function musicStartFunc() local stream = playSound("http://92.222.66.160:80/") local theVeh = getPedOccupiedVehicle(localPlayer) local getComponent = getVehicleComponents(theVeh) if (theVeh) then for k in pairs (getComponent) do local x, y, z = getVehicleComponentPosition(theVeh, stream) local fftTable = getSoundFFTData(theVeh,stream, 2048, 257) if not (fftTable) then return false end for i = 1, 256 do setVehicleComponentPosition(fftTable,'bump_rear_dummy', x+5, y+0, z+0) end end end end bindKey("9","down",musicStartFunc) What is problem ?? Help pls
  13. Ryosuke

    Realistic sound box script help

    Thank you, I'm going to work and test.
  14. Ryosuke

    Realistic sound box script help

    I do know however how to modify for a component of the vehicle?
  15. Ryosuke

    Realistic sound box script help

    English : Hello everyone, I would like a little help on a realistic sound box system. see the link how it would work, if possible help I thank Português : Ola a todos , gostaria de uma pequena ajuda em um sistema de caixa de som realista . vejam no link como funcionaria , se possível ajudar eu agradeço see the image (vejam a imagem ) : https://imgur.com/a/Ccuwm The system will work using bindKey("r","down", function() if cone1 then stopSound(cone1) else local cone1 playSound("IP STREAM RADIO") --- the object moves in the rhythm of the sound local theVeh = getPedOccupiedVehicle(localPlayer)local getComponent = getVehicleComponents(theVeh) if (theVeh) then for k in pairs (getComponent) do local x, y, z = getVehicleComponentPosition(theVeh, cone) cone1 = setVehicleComponentPosition(theVeh, cone, x+1, y+1, z+1) end end end )