Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. billboard, lol, he wants a gui element, not object..
  2. you have mixed server-side with client-side scripts..
  3. image is not an object! its gui element.. you have no idea about it.. re-read everything
  4. add column then every for example 5 seconds loop through all players, get their money, and setElementData to them.
  5. it will be MUCH easier just to check which hospital is nearest one hospitalsTable = { { 1177.7994384766, -1323.0667724609, 14.088536262512 }, { -2656.2421875, 635.99420166016, 14.453125 }, { 1607.1225585938, 1817.8732910156, 10.8203125 }, } function spawn( player ) local i=0 local minDistance=100000 local minHospital = 0 local posX, posY, posZ = getElementPosition(player) for key,val in ipairs(hospitalsTable) do i=i+1 local distance = getDistanceBetweenPoints2D(posX, posY, val[1], val[2]) if (distance<minDistance) then minDistance=distance minHospital=i end end spawnPlayer( player, hospitalsTable[minHospital][1], hospitalsTable [minHospital][2], hospitalsTable [minHospital][3], hospitalsTable [minHospital][4] ) end addEventHandler("onPlayerWasted", getRootElement(),spawn) -- btw: i dont see 4th value in your table (spawn player 5th argument) -- ps: i didnt test it, try it. im not sure if i should use ipairs or pairs, so if mta will complain about, try to change it.
  6. dzek (varez)

    Need Help

    at least you know something about computers generally so there would be easier to help you.. this looks a bit weird, have you tried nightly builds? https://nightly.multitheftauto.com/
  7. post your code!!! you have something like: for key,val in something do -- blabla end and it should be: for key,val in ipairs(something) do -- or "pairs" - it depends.. -- blabla end and sometimes your "something" is string variable, not even table!
  8. im resigning btw.. too much effort in that.. maybe someone else want 10EUR or just ask owner of that server you want to get a copy of script (i cant remember its name)
  9. can't wait until they get stones and start to throw them.. cookie/kevin + raulrobi you should learn how to behave
  10. i thought so (cookie=kevin11). almost same bahaviour
  11. cannoball didnt write any script in this topic, he just quoted o_O
  12. any errors in console? and this is .. weird: if(getAccount(getPlayerName(source)) == false) then --bla end (in join handler) HOW anybody can be logged in while joining?
  13. will anyone remove them? https://community.multitheftauto.com/?p=resources ... nts&id=788 https://community.multitheftauto.com/?p=resources ... ils&id=789
  14. Hmm It doesnt require that comma. More - i think this will fail, not run with this..
  15. dzek (varez)

    WARNING

    Sshh.. he'll kiddie-script you! ;o Or maybe he won't? Hmm, i'm still waiting him to cut my net off.. my boss is bothering me on skype, and i wanna have good excuse for going offline.. Azeroth, you are wrong, lol (well, not for the first time, and i'm sure not for the last time) handling isn't scriptable yet, It will be in 1.1 version. Using math and velocity get/set isn't real handling scripting.
  16. dzek (varez)

    WARNING

    Hmm, when handling will be scriptable this could be good idea. Maybe Azeroth will share his *perfect* handling so anybody that want it will be able to use it. And Azeroth - if you really want to stick to multiplayer (i don't see a reason for it) - find a server that allows handling modding.
  17. i dont think they care.. they just keep uploading random sh!t and never look back into it. pretty weird..
  18. dzek (varez)

    WARNING

    @robhol: thanks for your recognition @Azeroth: 1. I'm disappointed of you. Why? You can ":O" tomdrum11's computer and can't do same with mine? Saaaaad. Okay, cut my internet connection. I really hate my network admin. He's almost as lame as you Oh, and maybe you just can't do it, and you will find new stupid reason to not to cut me off? 2. If you want realistic game - BUY REALISTIC GAME. San Andreas is just not realistic. And as Blokker_1999 mentioned - play single, don't piss whole world off. Don't act like a kid. PS. @robhol again: write my name without capital, thanks
  19. 10 euro isnt much if you had REAL job before i spent about 1 week to make perfect stats script. metalhero: i can make one for you, but please list ALL things you need. I dont want to listen after that "i want that and that too".. and remember: -after work is done i'll show you script on my server (protected in various methods) -then you pay -then i'm sending
  20. u fail. maybe moderator moved it? to the author - i'm not sure if this is possible
  21. community is starting to become rubbish.. https://community.multitheftauto.com/?p=resources ... ils&id=784 wtf is that? as one commenter mentioned - mod NOT FOR MTA.. and for vice city, not san andreas (but i dunno if its ok to upload stuff for MTA for vice city, however its called)
  22. dzek (varez)

    WARNING

    yes you are.. its called intelligent idiot ;] well, I only wanted you to play fair. Nothing to piss you off. ey ey, I wanna you to hack my PC You can damage my server as its public, but you cannot access my laptop anyway. If you want to try: my ISP IP: 82.160.28.3 ISP -> My router 1: 192.168.111.193 My router 1 -> My router 2: 192.168.33.2 My router 2 -> My laptop: 192.168.45.33 Just wanted to help you find right computer ;] Yea, hack it, it's probably offline now, as mother-server got damaged 2 days ago, but anyway i'm shutting it down/ after you did all of it you can call yourself the-mastah-h4ckz0r, then kill yourself. Thank you.
  23. dzek (varez)

    no textures

    https://forum.multitheftauto.com/viewtop ... 04&t=27582 https://forum.multitheftauto.com/viewtop ... 04&t=27007 https://forum.multitheftauto.com/viewtop ... 04&t=27630
×
×
  • Create New...