Jump to content

DakiLLa

Members
  • Posts

    965
  • Joined

  • Last visited

Everything posted by DakiLLa

  1. How can we trust you, who has registered an account some hours ago and immediately created this topic? I'd advice you to make video or something that proofs that this thing actually works.
  2. DakiLLa

    Map Editor Bug

    Are you using the latest version of map editor resource? I don't have any problems with editor in 1.4 so far.
  3. 'screenshot' command is bound to F12 key by default.
  4. Проблема еще может быть в том, что до того, как вы вызываете getMoney(), у игрока нет установленных на нем данных в ключе "money". Поэтому getElementData возвращает false. Предварительно установите ему какое-нибудь значение в этом ключе, например при заходе на сервер: addEventHandler( 'onPlayerJoin', root, function() setElementData( source, "money", 0 ) end )
  5. Don't be so naive, read this topic please. The guy has explained there how he did decompile compiled and encrypted script.
  6. Lol, I had about ~70 custom objects that doesn't even fit on the screen (you know, those big landmasses with grass rock and stuff). I'll try to follow your advice, thanks.
  7. This looks awesome. I'm just curious about if you have any problems with missing object collions may be? I was working on the gamemode with lots of custom objects and had to drop it off since I stuck with the problem when you load lots of custom models and they start to loose their collisions randomly. Do you have any advices on how to avoid such problems?
  8. Uhh, it's just some lines of code: local messages = { "message 1", "message 2", "message 3", } addEventHandler( "onPlayerJoin", root, function() for i, msg in ipairs( messages ) do outputChatBox( msg, source, 0, 255, 0 ) end end )
  9. Are you talking about checkpoints?
  10. У функции showCursor есть второй аргумент, который позволяет не блокировать управление.
  11. DakiLLa

    1.4 Beta Release

    Jeez dude, give some respect to the devs who are still developing this mod.
  12. Hmm, you could find model IDs of those flowers (e.g. looking in the "flowers, plants" whatever was the objects section name I can't remember it), then manually add '' line in your .map file specifying the required model ID and an appropriate coordinates.
  13. Press 'E' and try to move your cursor over those flowers and see if you can select them then.
  14. Что-нибудь наподобии анти-флуда? https://community.multitheftauto.com/index.php?p ... name=flood Ну а вот заменить функцию мута на бан, думаю, не составит большого труда.
  15. Поставить атрибут cache="false" для клиентских скриптов в meta.xml: ="blahblah.lua" type="client" cache="false"/> При этом придется каждый раз при заходе на сервер скачивать файл заново, ибо он в данном случае не сохраняется на жестком диске.
  16. DakiLLa

    Question

    You can also use XML for such things.
  17. OnClientPlayerJoin won't work until client script download is complete. Use onClientResourceStart instead. shwaeki's example is ok, but you have to replace getRootElement() with resourceRoot.
  18. Don't forget to add 'false' argument in the addEventHandler function, otherwise the event will be triggered for every child element of the element you attached your event to. addEventHandler( "onClientMouseEnter", zamknij, function() guiSetVisible( zaladuj, true ) end, false ) addEventHandler( "onClientMouseLeave", zamknij, function() guiSetVisible( zaladuj, false ) end, false )
  19. By checking their hashes, with md5 for example.
  20. Hmm, as I can see this bug has been already fixed, but not backported to current MTA 1.3.5 version (as sbx320 replied in your issue), so I guess you better ask someone from devs if it's possible to make a backport for that fix.
  21. Try to change your event name (there is already existing the default one).
  22. Lol, it's cRiTical damage I did not find useful Obviously, when your vehicle gets damaged a lot (like on the previous screen, vehicle health is below 40%) then the message appears informing you that you better pay attention to your driving, stop touching every wall and find a way to repair your vehicle.
  23. Lol, it's cRiTical damage
×
×
  • Create New...