Jump to content

Kenix

Retired Staff
  • Posts

    4,121
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Kenix

  1. 2 argument should be team element NOT STRING! Read wiki please!
  2. MacTrekkie, никогда не именуй переменные таким образом: lolz, blablabla, ... В названии переменный должен быть смысл. P.S Я чисто для справки, ибо тебе же легче будет в будущем.
  3. В мта уже практически всё реализовано, но вот про баги, команда мта забыла и это раздражает. Например: http://bugs.mtasa.com/view.php?id=6084 http://bugs.mtasa.com/view.php?id=6048 Огромная проблема для меня, ведь нужно сделать ботов, которые атаковали бы игроков в миссиях, но вот боты не умеют целится нормально, стреляют в одно место, а пуля каким-то боком летит в другое. Функция setPedAimTarget Есть похожий ресурс slothbot на комьюнити, можете сами убедиться.
  4. You should check all element data in 5 line. Via functions outputDebugString outputChatBox tostring type
  5. Kenix

    Train Lag

    It's seems like recursion. When you type cmd it's make 1 infinite timer. When this timer reached ( 1 sec ) this make next infinite timer and etc. In your case you use not infinite timer. ( just 1 sec ). pTimer = setTimer ( traingo, 1000, 1 ) Also i think you not needed use timer local because you need destroy.
  6. MacTrekkie, CoolDark Заканчивайте с этим.
  7. Okay. You can load this via function loadstring. loadstring( 'n = 2 + 2' )( ) print( n ) -- 4 You can't get operator '+' from string.
  8. If you want remove '+' from string. You can use string.gsub local s = '2 + 2' local s = s:gsub( '+', '' ) print( s ) -- 2 2 You mean this?
  9. Ah damn ... oscitancy. Updated.
  10. https://wiki.multitheftauto.com/index.ph ... Scoreboard https://wiki.multitheftauto.com/wiki/Scr ... troduction
  11. You can fix this yourself.
  12. My mistake. Don't' saw this. Update now.
  13. Okay i explain more more better. Copy all files from folder plugins\APIs\ to folder Notepad_FOLDER\plugins\APIs\ Copy all files from folder plugins\config\ to folder Notepad_FOLDER\plugins\config\ Copy all files from folder plugins\ to folder Notepad_FOLDER\plugins\
  14. You should copy mta lua.xml but not lua.xml. ( If you want use with Fro's highlighting ) Don't forget select language MTA Lua.
  15. Jaysds1, You wrong installed. Okay. Who want use Buffalo auto completion and Fro highlighting. Install plugins\MTALua.dll and plugins\FunctionList.dll in folder PROGRAM_FOLDER\plugins\ plugins\config\ in folder PROGRAM_FOLDER\Notepad++\plugins\config\ plugins\APIs\ in folder PROGRAM_FOLDER\Notepad++\plugins\APIs\ Run Select Language -> MTA Lua. Don't forget restart notepad++ ! Download Updated.
  16. viewtopic.php?f=108&t=29549
  17. Kenix

    AddVehicleSiren

    You should update mta for use this.
  18. Kenix

    About lines

    I always not use this because someone can confusing with this. For example if i write some big condition. IIYAMA, '( )' working only in arithmetic but not in imparity! If you confusing use lua demo. http://www.lua.org/cgi-bin/demo
×
×
  • Create New...