Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. I think i can't help you more. or maybe.. list all resources you have running while trying to start another resource.
  2. you don't understand something for sure to be brief: there is no way to make object to be visible from 2000 units. edit: by default - object is streamed in when one player is nearby. what means streamed - something like that psychics, health etc are counted for this object. if element is streamed out - that means none of player nor server are doing anything with this element - this means for example: car flipped on roof, but streamed out will not explode. car in air (falling down to ground) will stop in mid-air, and its position will be constant - until someone will get close enough to this car to be streamed again. good example for objects stream: you have BIG object (imagine its on X:0 Y:0), and on edge of this object there is car standing (X: 200, Y: 200). when you are getting out of streaming range of this object - but you are still in streaming range of car (example, you are on X: 300, Y: 300) - the car will felt down, because its still streamed it, but the object is not - and it will disappear, also its collisions will be removed until it gets streamed in. you can prevent such behavior with disabling streaming for that object. LOD is only visual - you can set it to 10 - and the object will disappear very fast - but it will be still streamed it - and its collision will remain.
  3. dzek (varez)

    Triple chat

    @imperio, okay, but it was already said above.. no need to repeat..
  4. so find out which resource is making this (afair: basemode likes to prevents resources from starting - but i can be wrong)
  5. because you used only "n" command, without anything as argument ;| "fixed" and commented code: function findPlayerByName(playerPart) local pl = getPlayerFromName(playerPart) if isElement(pl) then return pl else for i,v in ipairs (getElementsByType ("player")) do if (string.find(getPlayerName(v),playerPart)) then return v end end end end function no(playerSource, command, arg1) if arg1 == nil then -- player is not specified -- this message goes only to player used "n" command outputChatBox("You have to specify player name", playerSource, 255, 255, 255, true) else local playerElement = findPlayerByName(arg1) if playerElement then -- we found player local name = getPlayerName(playerElement) local sourceName = getPlayerName(playerSource) outputChatBox (sourceName..": No way, " ..name.." !", getRootElement(), 255, 255, 255, true) else -- player is not found local sourceName = getPlayerName(playerSource) outputChatBox (sourceName.." to himself: No way!", getRootElement(), 255, 255, 255, true) end end end and result (my ingame nick: dzek) i think that this X to himself should be: player is not found, but whatever
  6. suggests that another resource is blocking this one. i dont know which one, but i suggest you to disable all (except critical ones) resources and try again starting "sql" resource. you can also stop other resource one-by-one, trying to start sql (to find out which one is preventing sql to start)
  7. post your whole script.. and if you have any warning/error COPY IT EXACTLY AS IT SAYS.. Also read this topic: viewtopic.php?f=91&t=27027 Omg.. It's like phoning to Customer Center and complaining for 30 mins about that you can't (for example) start your car, and after that 30 minutes you tell them that yesterday the engine had blown.
  8. omg, quarduple post o_O send me your png, ill check what needs to be changed
  9. if playerElement then local name = getPlayerName(playerElement) local sourceName = getPlayerName(playerSource) outputChatBox (sourceName..": No way, " ..name.." !", getRootElement(), 0, 0, 5, true) else local sourceName = getPlayerName(playerSource) outputChatBox (sourceName.." to himself: No way!", getRootElement(), 0, 0, 5, true) end this is weird for me. also this is very basic thing, hope you will learn lua more
  10. To fix this north bug you can try to re-install MTA to clean new folder. And about MTA:Race - AFAIK it's completly abadoned and theres bigger chance to Sun hit the Earth that to release new RACE.
  11. reinstall gta to new, clean folder. uninstalling/installing mods with automatic tools (san andreas mod installer) will always leave files modified, comparing to original.
  12. search function won't bite you. also it will save your time, becouse you need to register and wait few hours to reply (you was lucky this time). And i think the error message is clear - it means that your files was modified - you installed mods or something. You can reinstall GTA, or use this as solution: viewtopic.php?f=104&t=28669&p=317819&hilit=modified#p317819
  13. if you know lua this will be enough: https://wiki.multitheftauto.com/index.ph ... blur&go=Go if you dont know lua but think for 2 mins you should make a one-line client side script without problem
  14. horse, elephant, egg? xDDD i gave you this function to use it: function findPlayerByName(playerPart) local pl = getPlayerFromName(playerPart) if isElement(pl) then return pl else for i,v in ipairs (getElementsByType ("player")) do if (string.find(getPlayerName(v),playerPart)) then return v end end end end function no(playerSource, command, arg1) local playerElement = findPlayerByName(arg1) if playerElement then local name = getPlayerName(playerElement) local sourceName = getPlayerName(playerSource) outputChatBox (sourceName..": No way, " ..name.." !", getRootElement(), 0, 0, 5, true) end end addCommandHandler ("n", no) clean now?
  15. you didnt read instructions. you need to unpack libmysql.dll directly to server folder (where MTA Server.exe is)
  16. dzek (varez)

    MTA Laggs?

    your OS, and PC specs?
  17. so it works or not? i dont get you now..
  18. wow, i was thinking so hard to understand you.. i think you are talking about: function findPlayerByName(playerPart) local pl = getPlayerFromName(playerPart) if isElement(pl) then return pl else for i,v in ipairs (getElementsByType ("player")) do if (string.find(getPlayerName(v),playerPart)) then return v end end end end
  19. sweet, but tell me if setting this to true is working maybe?
  20. dont ignore my reply again
  21. dzek (varez)

    MTA Laggs?

    viewtopic.php?f=104&t=28827 Last reply.
  22. dzek (varez)

    IE 9 Beta

    I'm a webdeveloper. I was waiting SOOO much for IE to be ACCEPTABLE browser, without bugs and missing important features that other browsers are supporting for 1,2,3,4,5 or more years! From what i heard - IE9 is acceptable now, but it's too late. I will never use it, of course after releasing it I will install it, but nothing can stop me from using Opera
  23. Yup, Asking for scripting is nonsense, especially in non-english language Read: viewtopic.php?f=91&t=26541&start=0
  24. is it working after using SetElementCollisionsEnabled ?
×
×
  • Create New...