Jump to content

DakiLLa

Members
  • Posts

    965
  • Joined

  • Last visited

Everything posted by DakiLLa

  1. Проверьте addCommandHandler на вики и посмотрите, какие аргументы передаются в управляющую функцию. Переменную gate в функцию передавать не нужно, она у вас объявлена глобально. function MoveGate (thePlayer, cmd) moveObject(gate, 1000, 682.79760742188, 1853.6032714844, 0.0595626831055) outputChatBox("Ворота открылись.", thePlayer) end addCommandHandler("OpenGate",MoveGate)
  2. Аргумент alpha (a) поставить в значение 0. Пересмотрите еще раз функцию на вики. Вряд ли вы достигните этого предела. На мой взгляд, здесь беспокоиться не о чем. В принципе, вашу задачу можно решить и на стороне клиента, как вам удобнее, но все таки рекомендуется делать как можно больше на серверной стороне.
  3. применяется только для race-режима. Ну а если вам нужна погода, время и его заблокированный эквивалент, то тут ничего сложного нет: setWeather( 2 ); setTime( 14, 00 ); setMinuteDuration( 9999999 );
  4. Мб из-за этого? К тому-же тег
  5. Проверьте функцию createObject особенно ее последний аргумент. С помощью нее можно создать LOD-объект с увеличенной дистанцией прорисовки. Таким образом вам нужно создать оригинальный объект, а поверх него - заглушку-LOD.
  6. image = guiCreateStaticImage( ... ) addEventHandler( "onClientGUIClick", image, function() outputChatBox( "Клик по картинке" ) end, false ) Вроде бы, она в саму MTA вшита и ее не убрать.
  7. https://nightly.multitheftauto.com/ver/ Вот тут можно посмотреть рекомендуемые версии.
  8. You already can do this by using 'bone_attach' resource. The question is if it's possible to represent clothes as objects in-game...
  9. Exactly. Yea, I know, what you want to tell me. I saw your signature :b
  10. So far I haven't seen such server in MTA. Wish you get as much players on the server as you can. Looks cool, good luck.
  11. local myGridList = guiCreateGridList( ... ) addEventHandler( "onClientGUIClick", myGridList, function( btn ) if btn ~= 'left' then return false end local row, col = guiGridListGetSelectedItem( source ) --check if we actually clicked on some row if row >= 0 and col >= 0 then --do stuff here end end, false )
  12. Well, what can I say Keep it up.
  13. xmlLoadFile already returns pointer to the root of the xml file, so you don't need to search 'clans' node again with xmlFindChild. Try to comment the 5th line and rename 'clans' variable to 'clansroot' in the 4th line and see if that helps.
  14. I have got 2 "teamwork" style maps long time ago, we had a lot of fun playing them with friends. Here is the link: http://www.sendspace.com/file/ts9nty
  15. DakiLLa

    DM Levels

    exp_system from Castillo is exactly what you need.
  16. Возможно удалили потому, что описание было только на русском языке? Обычно такие ресурсы сразу трут.
  17. You have to specify the intervals from which the random value will be taken, e.g.: local rnd = math.random( 10, 20 )
  18. DakiLLa

    [REQ] Radar

    If they are using the same resource as you posted, then it proofs how "good" those servers are.
  19. Hmm, you can play around with weapon properties (setWeaponProperty function), I'm sure there should be something related to what you are asking about.
  20. You could also show us some screenshots of the current progress (ofcourse if there is something to look at)
×
×
  • Create New...