Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

Everything posted by dzek (varez)

  1. toggleControl is used for disabling CONTROLS (moving, shooting, etc), not for disabling/cancelling events ps. post your code in [lua] [/lua] tags
  2. i don't know where i should put this topic, as this is client-side problem caused by scripts.. feel free to move. Problem is that sometimes when theres a lot of explosions game crashes. I have installed a mil_protection (or something like that) resource, and this causes client game crashing. I've also written a mission, with Rhinos and a lot of cars. It can crash MTA too. Any thoughts whan I can do with that (as server admin, not player)?
  3. teres no such this as one-line toggle. you need to handle onClientMarkerHit, do something like setElementData on your player (or just set a global variable, as this will be just client-side i think) then just cancel any onClientPlayerDamage event on player in your marker. now, you need to script it, i described it enough, good luck
  4. Wojak, he got a solution in https://forum.multitheftauto.com/viewtopic.php?f=108&t=26489 this topic.. i think he still want a completed script Jammie, i said YOU can, i cannot do this for you and name me as "varez", not "Varez" (w/out capital), thanks
  5. you're right, you can, good luck
  6. hi i need to make breakable object unbreakable.. to be precise: container (that one you can found on ships/at docks etc) should hover in air, and sometimes when somebody hits it, it falls into water i dont want it that way any scripting ways to do that? or should i replace containers with something else? edit: i;ve found setObjectStatic i think it will be good, but now im going to sleep, if anybody knows - pls tell me on wiki we can read: I hope theres no restrictions like that in opposite way
  7. so why posted 2nd topic about same problem?
  8. why you left this topic? https://forum.multitheftauto.com/viewtop ... 08&t=26489 btw: its looking like you want us to script your whole server..
  9. Jammie, you will proabably need to modify real_driveby resource
  10. uhm, my trucker mission (not finished) is 10x longer than yours.. and as DarkDragon[GER] said - this doesnt make sense.. if you want to learn scripting, important thing is TEST your script while is 10-20 lines long, then edit, add functions/events, and test again, test test test.. you cannot do a 500-lines script, without testing it.
  11. my server isn't clone of existing servers. ive already spent a lot of time on it (scripting, mapping), and plan to spend more.. i just want a safe zone on spawn, as i see more and more spawn killers (kicking them automatically is not a good idea for me)
  12. i reported this topic to be moved to scripting help. i also thinking about how to create a temporary "god mode"
  13. what? if you have more or less than 13 banks it not working? am i corretly understand you? I tried it with 1, 2, and 3 banks, works ok..
  14. i've already run a mta server, its online for over a month. and i can share my feeling - noone cares about doing anything to make game better. theres lack of scriptes, mappers, and sometimes of players too. mta seems to be so small and silent. I'm scripting almost everyday, its a hard work, but my players enjoy that, but nothing more. if i speak to them, i can't found any person who wants do some mappings (stunt parks etc) even for an admin etc (im not talking about that noobs begging for admins) nvm, do you know scripting? and.., if you are caring about the name at start, not the other things, you wont probably setup that server. almost every player thinks about own server/great gamemodes which will kick ass everybody/and the most important thing for them is the name but anyway - good luck
  15. its ready. in attachment edit: In server/bank.xml.server.lua set visibleRadius to desired value
  16. i have my own srv, i dont need another one, but thanks.. im still at work, you need to wait some time until i get back home
  17. i will be fixing this issue probably today on mine server.
  18. "make one marker appear at that time only" meybe this is just my bad english, but i understand this as hiding all markers, except one
  19. start by reading tutorials, wiki, and about lua language.. if I understand you correctly, you can hide all markers via: local markers = getElementsByType('marker') for key,val in ipairs(marker) do SetElementAlpha(val,0) end this should work, but may not work, as i wrote it in browser remember you will need to do it both client and server side
  20. robhol, i dont think this thread is necessary. You better get a talk with plant pot why all those sa-mp lovers are getting here? trolling, trying to get help with samp, etc?
  21. bad thing is that i want to destroy vehs with projectiles ok,its not necessary
  22. i saw something like that in admin resource. .. admin/server/admin_sync.lua
  23. one function in another? i'm not sure if its possible in lua, but i havent tried it. get an MTA Script Editor - its helpful. and put your code on forum in [lua] [/lua] tags
×
×
  • Create New...