diff --git a/anti1235.lua b/anti1235.lua new file mode 100644 index 0000000..7bbc7ce --- /dev/null +++ b/anti1235.lua @@ -0,0 +1,11 @@ +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 +