facepunchsss
Новичок
- 10
- 0
Lua:function main() while not isSampAvailable() do wait(0) end while true do wait(0) if isKeyDown(0xA4) and wasKeyPresed(0x74) then flood = not flood printString(flood and 'Activated' or 'Deacdivated', 2018) end if flood and getCharHealth(playerPed) == 0 then sampSendChat('hide deagle') sampSendChat('/hide m4') sampSendChat('/hide rpg') end end end
Спасибо. Но, теперь весь чат флудит командами, как сделать, чтобы они срабатывали только один раз?