Jump to content

karlis

Members
  • Posts

    1,314
  • Joined

  • Last visited

Everything posted by karlis

  1. lol this is supoerannoying way to detect airbrake, and witch would make report for nothing
  2. karlis

    Lagging help

    could you explain wut ever1 does?im pretty intrested lol closing explorer will result of loss of any out-game gui oh and last link is invalid
  3. https://community.multitheftauto.com/index.php?p= ... ils&id=662
  4. i have to admit im 99.9999% sure the pll who made this orginaly for sa-mp used mta map editor.
  5. just i needed convert from radians when i converted some samp stuff
  6. thats simple, few notepad repacements and then rotation converting from radians to degrees(at least for objects rotation was needed to change, dunno about vehicles) and thats all
  7. problem is that only blips,markers,vehicles,peds and objects attaches. and i didnt change mind, but sugsted it for testing, then according results later you can see the way to suceed
  8. 1)wont work because that event isnt triggered on local player join, but why you make more topics about same problem??
  9. is there alternative ways to get pos?marix, or how was it called?(dont blame me please, im noob in matrixes) abut that calculation, varez, theres processLineOfSight edit:varez, try checking xyz every frame, bcoz may destroy is triggered to late
  10. good.. but i dont see "onProjectileDestroy" event or anything like that.. or should i getElementPosition everyframe, until my element exist? you could do that, but for performance reasons calculate aprox time when ti should land and get pos only then
  11. fix ur link, it has invalid "." after http://
  12. karlis

    Don't works

    k alrdy fixed, btw i dont get why u use ";", it only spends size
  13. i understand problems that causes clientside 1, but i need say: D'OH 1 more thing from 1,000,000 that need anoying triggers between server and client!
  14. karlis

    random words

    edited it, now works fine
  15. didnt know where to report: lua highlighter returns wrong color for fadeCamera fadeCamera() not big deal, but hugely disoriented me also try press line number on/off twice...
  16. ohh forgot that, ill edit that snippet edit:fixed it, not wit will fade screen, go to stream range, get ground pos, and spawn then
  17. well yes it does, but now we are talking about much solutions that almost dont change it
  18. doesnt proectile destroys when it hit ground?and getElementPosition dont works?
  19. open server.lua, uncomment line 12, delete textcoment at that line, coment line 1 and 13, then open client.lua and comment line 6-46, and ure done --comented noncomented --[[ multiline coment blahblah ]]
  20. 1)no idea 2)private resources for valhalla server
  21. i suggest it to callum...
  22. karlis

    random words

    function createRandomWord() local str="" for L=1,math.random(6,12) do local randchar=string.char(math.random(100,122)) if math.random(1,2)==2 then randchar=string.upper(randchar) end str=str..randchar end return str end im not sure is char number bounds right
  23. watch clientside and serverside tags before, and put them in separated script files
  24. karlis

    Don't works

    litle fix: function whatEver ( ) bindKey (source, "right", "down", function (player) local skin = getPedSkin(player)+1 while not setPedSkin(player,skin) do skin=skin+1 % 290 end end ) end addEventHandler("onPlayerLogin", getRootElement(), whatEver) also, if you didnt know: a % b = a - math.floor ( b / a ) * b this is much more compact than "if x>y then..""
×
×
  • Create New...