Недавнее содержимое от chockscrot

  1. chockscrot

    Вопросы по Lua скриптингу

    how to find out if there is an administrator in the spec stream zone in you?
  2. chockscrot

    Вопросы по Lua скриптингу

    it has bugs, I don't want it to be activated when I log in, I want to activate normally
  3. chockscrot

    Вопросы по Lua скриптингу

    worked, but it is automatically activated when you log in
  4. chockscrot

    Вопросы по Lua скриптингу

    Does not work
  5. chockscrot

    Вопросы по Lua скриптингу

    I want to remove the sampRegisterChatCommand and use only isKeyJustPressed (VK_P) function main() while not isSampAvailable() do wait(0) end if not sampIsLocalPlayerSpawned() then return false end sampRegisterChatCommand('pzda', function() -- pzda - abbreviated Russian bad word :D...
  6. chockscrot

    Вопросы по Lua скриптингу

    how can I somehow use the if isKeyJustPressed (VK_P) in this code? require "lib.moonloader" local samp = require 'lib.samp.events' local activate = true function main() while not isSampAvailable() do wait(0) end if not sampIsLocalPlayerSpawned() then return false end...
  7. chockscrot

    Вопросы по Lua скриптингу

    how can I somehow use the if isKeyJustPressed (VK_P) in this code? require "lib.moonloader" local samp = require 'lib.samp.events' local activate = true function main() while not isSampAvailable() do wait(0) end if not sampIsLocalPlayerSpawned() then return false end...
  8. chockscrot

    Вопросы по Lua скриптингу

    how to interact with another player within a certain radius?
  9. chockscrot

    Вопросы по Lua скриптингу

    is there any way that the player's weapon disappears when it comes near me?
  10. chockscrot

    Вопросы по Lua скриптингу

    how can i use ( if isKeyJustPressed(VK_P) and sampIsChatInputActive() == false then active = not active printString(active and 'enable' or 'disable', 1000) end ) in this code? local timed = 1200 -- ������ ------------------------------------------------------------ local...
  11. chockscrot

    Вопросы по Lua скриптингу

    is there any function that i can change my fighting style?
  12. chockscrot

    Вопросы по Lua скриптингу

    there is some god mod .moon how to write this code in the lua language? {$CLEO .cs} //-------------MAIN--------------- 0000: NOP :NONAME_2 wait 10 if and not Actor.Driving($PLAYER_ACTOR) $ONMISSION == 0 0AB0: key_pressed 114 jf @NONAME_2 00BC: show_text_highpriority GXT 'enable'...
  13. chockscrot

    Вопросы по Lua скриптингу

    what function do i use to become a god and lose nothing of life?
  14. chockscrot

    Вопросы по Lua скриптингу

    HOW DO I ENABLE AND DISABLE THIS CODE? CAN SOMEONE HELP ME ? function sampev.onSetPlayerHealth(health) return false end function sampev.onSetPlayerArmour(Armor) return false end
  15. chockscrot

    Вопросы по Lua скриптингу

    как мне как-то заморозить жизнь и мой жилет?