Jump to content

Fabioxps

Members
  • Posts

    229
  • Joined

  • Last visited

Everything posted by Fabioxps

  1. outputConsole(tocolor(255,100,255,255)) return -39681 how to know what color is -39681
  2. shut down the server and delete the registry.db file in the deathmatch folder
  3. you can just lower the sound and increase instead of destroying it
  4. how to disable show chat command /showchat addEventHandler("onPlayerCommand",root,function(cd) print(cd)--does not return "showchat" end)
  5. How do you find a certain album? example: "Justin Bieber" https://open.spotify.com/embed?uri=spotify:user:spotify:playlist: "Justin Bieber"
  6. it works Is it possible to find musics?
  7. http://prntscr.com/gy9k2f http://prntscr.com/gy9kzv http://prntscr.com/gy9lye http://prntscr.com/gy9mh6 http://prntscr.com/gy9ok2
  8. I can connect more I get errors like 404 play music does not work help me this is fantastic
  9. I want to know the size and a certain zone example I want to know which size of the city of Los Santos and with this size create the rectangle
  10. can anyone tell me how to get the size of a zone? good I want to create rectangles in areas but I need the correct size
  11. I am destroying and creating other vehicles when the map carries. It has some way to alleviate this problem? my code local vehicle = getElementData(player,"vehicle") if isElement(vehicle) then destroyElement(vehicle) setElementData(player,"vehicle",false) end if not vehicle or not isElement(vehicle) then vehicle = createVehicle(411,0,0,0,0,0,0) end
  12. what??? I want to know the reason of the problem He mean, do /stop resourcename in the console I want to know what causes this bug
  13. what??? I want to know the reason of the problem
  14. because it happens this bug? maybe some sloppy script?
  15. "\" Character in error example character = "\" outputDebugString(character) outputDebugString("\")
  16. maybe I should use createElement as table?
  17. when I set a visible image others disappear. Direct3D = {} Direct3D.__index = Direct3D rot,width,height,x,y = 600,800,800,guiGetScreenSize() visible = {} local Instance = {} function Direct3D(id,width,height,shader,image,rot) if Instance[id] == nil then Instance[id] = {} shader = dxCreateShader(shader) renderTarget = dxCreateRenderTarget(width,height,true) Instance[id].shader = shader Instance[id].renderTarget = renderTarget Instance[id].image = image Instance[id].rot = rot Instance[id].width = width Instance[id].height = height Instance[id].continuos = "" end end function up() for k,v in pairs(Instance) do dxSetRenderTarget(Instance[k].renderTarget,true) dxDrawImage(0,0,Instance[k].width,Instance[k].height,Instance[k].image) dxSetRenderTarget() dxSetShaderValue(Instance[k].shader,"Instance",Instance[k].renderTarget) end end addEventHandler("onClientRestore", root, function() up() end) Container3D_A = function() for k,v in pairs(Instance) do if Instance[k].rot == 600 or Instance[k].rot == 270 then return end up() dxSetShaderTransform(Instance[k].shader,0-Instance[k].rot,0,0) dxDrawImage(x/2-Instance[k].width/2-Instance[k].rot,y/2-Instance[k].height/2,Instance[k].width,Instance[k].height,Instance[k].shader) end end addEventHandler("onClientPreRender",root,Container3D_A) B = function() for k,v in pairs(Instance) do if Instance[k].continuos == true then Instance[k].rot = Instance[k].rot - 4 if Instance[k].rot < 0 then Instance[k].rot = 0 end end end end addEventHandler("onClientPreRender",root,B) C = function() for k,v in pairs(Instance) do if Instance[k].continuos == false then Instance[k].rot = Instance[k].rot + 4 if Instance[k].rot > 600 then Instance[k].rot = 600 end end end end addEventHandler("onClientPreRender",root,C) function addEve(id,bool) if Instance[id] ~= nil then Instance[id].continuos = bool end end Direct3D("1",800,800,"Efect/EFECTS.fx","Texture/rotatioIMG.png",600) addEve("1",true) Direct3D("2",800,800,"Efect/EFECTS.fx","Texture/rotatioIMG.png",600) setTimer(function() --kkk:addEve(true) -- addEve("1","-") end,8000,1) setTimer(function() addEve("2",true) -- kk:addEve(false) end,5000,1)
  18. it is possible to pass arguments in functions lol.lal(arg) addEventHandler("onClientRender", root, lol.lal(arg))
  19. the event is not being removed lol = {} function lol:lal() outputChatBox("remove event from table ") end addEventHandler("onClientRender", root, function() lol:lal() end) setTimer(function() removeEventHandler("onClientRender", root, function() lol:lal() end) end,1000,1)
  20. I had already made their code this perfect thank you. <3
  21. I want to repeat the sound and stop not to destroy. help?
×
×
  • Create New...