| script_name('SprintFire') |
| script_author('FYP') |
| script_description('Get the latest MoonLoader updates from http://blast.hk/moonloader/') |
|
|
|
|
| |
| function main() |
| while true do |
| wait(0) |
| if isPlayerPlaying(playerHandle) and isCharOnFoot(playerPed) and not isCharInAir(playerPed) then |
| if isButtonPressed(playerHandle, 16) |
| and isButtonPressed(playerHandle, 6) |
| then |
| local weap = getCurrentCharWeapon(playerPed) |
| local slot = getWeapontypeSlot(weap) |
| if slot >= 2 and slot <= 8 then |
| while isButtonPressed(playerHandle, 6) do |
| wait(0) |
| setGameKeyState(16, 0) |
| end |
| end |
| end |
| end |
| end |
| end |
|
|