12 lines
420 B
Lua
12 lines
420 B
Lua
function main()
|
|
if not isSampfuncsLoaded() or not isSampLoaded() then return end
|
|
while not isSampAvailable() do wait(100) end
|
|
|
|
while true do wait(0)
|
|
if isCharPlayingAnim(PLAYER_PED, "RUN_STOP") or isCharPlayingAnim(PLAYER_PED, "RUN_STOPR") then
|
|
clearCharTasksImmediately(PLAYER_PED) freezeCharPosition(PLAYER_PED, false) setPlayerControl(player, true)
|
|
end
|
|
end
|
|
end
|
|
|