- 138
- 21
123:
function main()
sampRegisterChatCommand('ezsbiv', function() WinState[0] = not WinState[0] end)
while true do
wait(0)
if isKeyJustPressed(keys.VK_H) then
clearCharTasksImmediately(PLAYER_PED) freezeCharPosition(PLAYER_PED, false) setPlayerControl(player, true)
end
end
end
function sbiv()
while true do
wait(0)
if isKeyJustPressed(keys.VK_Q) then
sampSendChat(text)
wait(1000)
end
end
end
1 функция работает(main) , 2 нет(sbiv)