Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. dzek (varez)

    Server start

    you have to specify to which local ip you want to forward your ports. what you had enter there? find your local ip by pressing windows key + R, then typing "cmd", then "ipconfig /all" - find your network card in the output, and there will be your ip assigned. oh, and remember that servers are visible on server list after running the server for 24h, (sometimes, manually adding it to game-monitor.com will make things faster). and i hope you have 22004 port set in mtaserver.conf file
  2. probably with https://wiki.multitheftauto.com/wiki/LoadMapData ? there is "see also" under every page of wiki..
  3. i dont think it's possible to make a memo with multiple colors.
  4. I've said it many times (probably said it to you also)
  5. get MAC of your network card, then in your router setup DHCP (on LAN, not WAN) to assign you static LOCAL ip, like : 192.168.0.10 (i bet this one is changing, right?), then forwards your ports to this local IP and everything should be right. I can help you via teamviewer if you'll fail with setting things up.
  6. dzek (varez)

    Radar

    you can't create MTA resource from that. treat this as single player mod that you can run with MTA
  7. can be used instead, but explode will split via any string (like "i rule-:-and this is 2nd string", then explode("-:-", string)), this requires ASCII number (for new line it will be 10 BTW (or 13? but 13 was for \r afair)
  8. idk from where he taken it, but check out his other resources - vehicle mod, and drawing image on screen.. he even can't write a proper description for it (posting res like that = a lot of knowledge and probably useful functions(exports)/events - needs some documentation)..
  9. http://free.avg.com/ww-en/faq.num-3031#num-3031
  10. 1. this is the reason why you probably won't get answer. spending 1h to explain meaning of each resource and writing 1000 lines post = waste of time (ofc, you can do it after discovering, would be helpful) 2. use something better than windows build-in search. 3. afaik - a lot of database modifications need to be done (like: adding fractions etc). but never used this thing. 4. to run basic server - probably not much, a lot of noobs have paradise server, so it shouldn't be very hard.
  11. no sense. do it server side. steps: add column settimer (100ms or more) that will be looping through players (getElementsByType, and "for" loop (search google "for loop lua")) getting health and setting element data
  12. function explode(div,str) if (div=='') then return false end local pos,arr = 0,{} -- for each divider found for st,sp in function() return string.find(str,div,pos,true) end do table.insert(arr,string.sub(str,pos,st-1)) -- Attach chars left of current divider pos = sp + 1 -- Jump past current divider end table.insert(arr,string.sub(str,pos)) -- Attach chars right of last divider return arr end local mystring = "some\ntext\nbla\nbla\nbla" -- this text have 5 lines local exp = explode("\n", mystring) local targetLine = 3 local index=0 for i=1, targetLine-1 do index = index + exp[i].len end guiMemoSetCaretIndex(memo, index) -- i have my brain overheated, maybe you will need to add 1 to index to make it work correctly (but probably not) sorry if its buggy ;]
  13. 1. Resources have names that can tell you something about it. Idk if anyone knows them all, and will post HUGE POST about what is what. Reading through codes will be faster i think. 2. Search for "addCommandHandler" inside all files 3. Idk. Read INSTALLATION/README/whatever included with Paradise GM ? 4. Look on point 3.
  14. disable antivirus when installing/playing. my firewall prevents me from running mta, so im disabling it when playing.
  15. The simplest way is to install Debian instead of CentOS and follow this tutorial. If you don't know anything about something - don't buy it! install virtual machine on own pc and give it a try before buying a server. if you have this for free - just search google for some help and tutorials. There is WAY TOO MUCH to teach, so you will have to tech ur self
  16. if someone can script - he would rather make a server for himself. for fun ofc. like I did. now im out of playing mta - but sometimes im scripting under requests.
  17. there is one fps server already - so it's obviously possible
  18. if you are using 1.0.3 version where this bug can occur - upgrade please to 1.0.4 where it's fixed.
  19. if you will replace billboard - you won't get it replaced in samp anyway. read this: viewtopic.php?f=94&t=30376#p329328
  20. press "e", crosshair will change to red and will be detecting closest object to crosshair point
  21. i was multimapping with 3 other people 1 year ago (on 1.0.3) and it was working fine.
  22. taking nicks from game = lame but welcome
  23. https://community.multitheftauto.com/?p=resources ... ls&id=1318 https://community.multitheftauto.com/?p=resources ... ls&id=1319 definitely not made by him!
  24. Ransom - linking fail. Blokker - answers fail (no orange)
×
×
  • Create New...