Jump to content

karlis

Members
  • Posts

    1,314
  • Joined

  • Last visited

Everything posted by karlis

  1. karlis

    Colshapes

    imo its good suggestion, and it just needs edf+some script. the problem is that they need be somehow drawn(most likely using dxDrawLine3D), therefore simple edf is not enough.
  2. that's completely non-related
  3. you might take a look at shaders and some custom font handler written into the shader. and nope, that's not easy, however possible easily(i think GTASA number plates are displayed similar way).
  4. gratz, ive got a 1000000posts! well, 1000000^0.5, not a bit diff.
  5. drawing many dx images doesn't hurt performance that much, until they don't go houndreds. for instance my ivhud resource can use ~50-100dx functions per frame, maybe even more, and there's only few fps drop.
  6. i failed to remove the shadow of a vehicle with shaders.(suppose its same with ped) its because you can attach shader to texture, not model, but afaik there's no texture for shadow. and besides that in 1.1.1 ped shaders are disabled(i hope temporarily).
  7. works ofc, but getting ped vehicle to get ped from it is kind of dumb...
  8. i don't actually like those grayscale blips. if you want them, you can replace the images of course. ill think about blip N tough.
  9. it wasn't me. what's the name, or ip?
  10. yes it is, sure you typed it right and read the console, not chatbox?
  11. in console it does output something(tested), if you replaced the code i gave earlier with edited one and restarted the script.
  12. lol i failed badly, please recopy the code. EDIT:wait a couple of minutes, need sort something out EDIT2: ok, copy it again, now it works for sure.
  13. addCommandHandler("getInfo",function() local info=dxGetStatus() for k,v in pairs(info) do outputConsole(k.." : "..tostring(v)) end end) add this somewhere in the client.lua, but don't replace anything then restart resource then open console and type "getInfo" show here what console did output.
  14. that your video memory is full and it failed to make the render target. what are your pc specs? and, did you change anything in the code?
  15. type /debugscript 3, and see is anything output. post results here.
  16. yes, and its way too complicated(well, more like taking too long) for someone to do it for you. easiest thing would be replacing the localized gui functions with functions for dx library, but still that's not task for beginner.
  17. shading on peds is tempoarily disabled.Disable ped effects.
  18. dunno, but imo its easier to just use my function. it cant get much more accurate.
  19. this should work for all fps, but when fps drop from high to low, or low to high, for 1 sec there can be little inaccuracy(because it uses fps of last frame when compensating offset from 1sec between last frame that fps got calculated, and this frame). to check fps just get fps variable.
  20. you need a way to detect fps? i can help you in that case EDIT: here it is: local frames,fps,lastsec=0,0,0 addEventHandler("onClientRender",getRootElement(),function() local frameticks=getTickCount() frames=frames+1 if frameticks-1000>lastsec then local prog=(frameticks-lastsec) lastsec=frameticks fps=frames/(prog/1000) frames=fps*((prog-1000)/1000) end end)
  21. thanks, i added the rpg and flame-thrower, they are awesome, but in my opinion googles need to be from side aswell.And as default/your googles icon is not in best quality ill keep them like they are for now.
×
×
  • Create New...