- 345
- 75
- Версия MoonLoader
- .026-beta
Ввожу команду - по итог не работает
CODE:
while true do
wait(0)
if state then
sampRegisterChatCommand("AF", function()
state = not state
if state then
sampAdd
sampAddChatMessage("AF", -1)
if text == "Разморозил!" then
sampAddChatMessage(text, -1)
freezeCharPosition(PLAYER_PED, true)
freezeCharPosition(PLAYER_PED, false)
setPlayerControl(PLAYER_HANDLE, true)
restoreCameraJumpcut()
clearCharTasksImmediately(PLAYER_PED)
else
freezeCharPosition(PLAYER_PED, true)
freezeCharPosition(PLAYER_PED, false)
setPlayerControl(PLAYER_HANDLE, true)
restoreCameraJumpcut()
clearCharTasksImmediately(PLAYER_PED)
end
end
end
end
end