Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. you can also post your script (including sound) and we can check what is wrong
  2. taken picture of map with.. mobile phone? press F12 while playing MTA, after exit go to: C:\Program Files\Multi Theft Auto San Andreas\screenshots (or wherever you installed MTA) and the pictures will be there edit: topic moved.
  3. dzek (varez)

    Max player ....

    I think will means future thing
  4. Your English makes your posts hard to understand. I don't understand what do you want to achieve? If you expect us to "make client for anticheat" - sorry, we are not machines fulfilling requests. As i can see you have only serverside, probably taken from wiki.
  5. https://wiki.multitheftauto.com/wiki/PlaySound3D (as position use bridge position)
  6. this is nightly build (beta) - bit different to "standard" 1.0.4
  7. explain EXACTLY what do you want to achieve And explain EXACTLY what bug are you getting. I can't understand you with your english..
  8. addCommandHandler seems to be much simplier and using "/do" in chatbox instead of "do" in console will work? im not sure about this so im asking
  9. why on console command not with addCommandHandler ?
  10. whops, i didnt read carefully
  11. you didnt read carefully.. try this one, should work, but im not a math god, also this was written in browser.. local px,py,pz = getElementPosition(player) local rx, ry, rz = getElementPosition(bot) local distanceBetweenPlayerAndBot = getDistanceBetweenElements2D(px,py,rx,ry) local cx = px local cy = py+distanceBetweenPlayerAndBot local angle = getAngleBetweenPoints2D(px,py,cx,cy,rx,ry) if rxif (angle >= 0 and angle < 45) or (angle > 315 and angle <= 360) then direction = "north" elseif (angle>45 and angle <= 135) then direction = "east" elseif (angle>135 and angle <= 225) then direction = "south" elseif (angle>225 and angle <= 315) then direction = "west" end
  12. not sure what you are trying to do? detect if player is sitting in vehicle, or to detect if on destination position there is any car (which makes player colliding with it on teleport) ?
  13. set a global variables with position, like: posx = 10 posy = 10 function drawing() posx=posx+1 posy=posy+1 -- draw here, using posx, posy as position arguments end
  14. https://community.multitheftauto.com/?p=resources ... ls&id=1142 https://community.multitheftauto.com/?p=resources ... ts&id=1143 ... anyone caring? old stolen resources still not removed
  15. dzek (varez)

    NameTags

    first - you have to store 3 colors for every player. so something like that will be needed: -- server side!! addEventHandler("onPlayerJoin", getRootElement(), function() local col = { math.random(0,255), math.random(0,255), math.random(0,255) } setElementData(source, "color", col) end) -- then on drawing function (client): local col=getElementData(player, "color") local r=col[1] local g=col[2] local b=col[3] dxDrawText (getPlayerName(player), sx, sy - offset, sx, sy - offset, tocolor(r,g,b,textalpha), textscale*NAMETAG_TEXTSIZE,"default", "center", "bottom", false, false, false )
  16. you are never firing bindTheKeys function
  17. next one.. tell me where i was insulting anybody?..
  18. dzek (varez)

    NameTags

    math.random(0,255) will return random value from 0-255 range
  19. dzek (varez)

    NPC

    if you want write it from scratch, better prepare a month or two of free time. you can use Slothman's Slothbot -> https://community.multitheftauto.com/index.php?p= ... ils&id=672 read manuals, wiki, to learn how to create a bot and how to control it
  20. whoops i misreaded something.. sorry..
  21. why are you trying to insult me too? i just dont like it, something wrong with it?
  22. again: all sentences written by you are written in way causing reader to think the same. you are taking the positives, and offering them OR negating positives in another choice. you dont say anything about "the other side".that's why you have 80/20 in your "poll". very simple manipulation, and well - its working. im impressed (and this is not some kind of joke, really). btw: you should think about politican career
×
×
  • Create New...