Neler yeni

Rehber Bunnyhop Engelleme

hakanycg

Master Mod
Master Moderator
Değerlendirme - 0%
0   0   0
Katılım
15 Tem 2020
Mesajlar
164
Tepkime puanı
84
Puanları
28
Credits
0
Bu kodu herhangi bir client tarafına yapıştırın


Kod:
Citizen.CreateThread(function()
    while true do
        Citizen.Wait(100)
        local ped = PlayerPedId()
        if IsPedOnFoot(ped) and not IsPedSwimming(ped) and (IsPedRunning(ped) or IsPedSprinting(ped)) and not IsPedClimbing(ped) and IsPedJumping(ped) and not IsPedRagdoll(ped) then
            local chance_result = math.random()
            if chance_result < 0.50 then
                Citizen.Wait(600)   
                SetPedToRagdoll(ped, 5000, 1, 2)
            else
                Citizen.Wait(2000)
            end
        end
    end
end)
 

Defender

Master Mod
Master Moderator
Değerlendirme - 0%
0   0   0
Katılım
25 Ara 2020
Mesajlar
253
Tepkime puanı
107
Puanları
43
Yaş
26
Credits
0
Üst