Zadziałało. Dzięki wielkie.Ale teraz znowu mam problem ze strzelaniem. Muszę dla Akila przestrzelać jego Vyhlopa Głuszę. Jak strzelam w powietrze to działa ale jak już mam coś ubić to:
[LUA] SCRIPT RUNTIME ERROR
[04.07.25 15:50:26.856] [LUA] ...m files (x86)\op-2.2\gamedata\scripts\lua_ext.script:463: bad argument #4 to 'format' (number expected, got string)
[04.07.25 15:50:26.856]
[04.07.25 15:50:26.856] FATAL ERROR
[04.07.25 15:50:26.856]
[04.07.25 15:50:26.856] [error]Expression : fatal error
[04.07.25 15:50:26.856] [error]Function : CScriptEngine::lua_error
[04.07.25 15:50:26.856] [error]File : script_engine.cpp
[04.07.25 15:50:26.856] [error]Line : 79
[04.07.25 15:50:26.856] [error]Description : <no expression>
[04.07.25 15:50:26.856] [error]Arguments : LUA error: ...m files (x86)\op-2.2\gamedata\scripts\lua_ext.script:463: bad argument #4 to 'format' (number expected, got string)
Niby to samo ale ten plik od Wariata nie działa.