Neler yeni

Foruma hoş geldin, Ziyaretçi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.

Türkiye'nin İlk ve tek FiveM forum adresi

Forum adresimize hoş geldin FiveMTürk olarak amacımız siz değerli kullanıcılarımıza en aktif fikir ve paylaşım platformu sunmak bir yana en güvenilir şekilde alışveriş yapabileceğiniz bir platform sunmaktır.
DF DF
DF DF
DF DF

Rehber ESX_COMMUNİTYSERVİCESEX - HİLECİYİ TOKATLAMA

gaunthlow

Üye
Yasaklandı
FT Kullanıcı
Katılım
28 Nis 2021
Mesajlar
428
ŞU KISMI esx_communityservice > server > main.lua
esx_c 1.png
ŞÖYLE DEĞİŞTİRİN
Kod:
RegisterServerEvent('esx_communityservicesex:sendToCommunityService')
AddEventHandler('esx_communityservicesex:sendToCommunityService', function(target, actions_count)
    local identifier = GetPlayerIdentifiers(target)[1]
    if ESX.GetPlayerFromId(source).getJob().name ~= "police" and ESX.GetPlayerFromId(source).getJob().name ~= "sheriff" then
        -- DropPlayer(source, "Aç kapıyı aras kargooo :)")
        TriggerClientEvent('mythic_notify:client:SendAlert', source, { type = 'inform', text = 'Aç kapıyı aras kargoooo JSKDLFJSLKFJLSFKD', length = 5000})
    else
        TriggerClientEvent('esx_communityservice:inCommunityService', target, actions_count)
    end
    Wait(4000)
    MySQL.Async.fetchAll('SELECT * FROM communityservice WHERE identifier = @identifier', {
        ['@identifier'] = identifier
    }, function(result)
        if result[1] then
            MySQL.Async.execute('UPDATE communityservice SET actions_remaining = @actions_remaining WHERE identifier = @identifier', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        else
            MySQL.Async.execute('INSERT INTO communityservice (identifier, actions_remaining) VALUES (@identifier, @actions_remaining)', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        end
    end)

BU ŞEKİLDE AC'siz BASİT BİRŞEKİLDE POLİS OLMAYAN BİRİSİNİN KAMUYA GÖNDERMESİNİ ENGELLEYEBİLİRSİNİZ BELKİ İŞİNİZE YARAR.
POLİS OLAN GÖNDEREBİLİCEK Mİ DİYE BELKİ YAZANLAR OLUCAK BU AC FALAN DEĞİL SADECE SCRİPT İÇERİSİNDEN BİR DEĞİŞİM.


VİDEO
 


quake47

Üye
FT Kullanıcı
Katılım
22 Haz 2021
Mesajlar
433
esx-kamu kullanıyorum onda nasıl yapabilirm?
 


imn0thing

Üye
FT Kullanıcı
Katılım
30 Ara 2020
Mesajlar
683
ŞU KISMI esx_communityservice > server > main.lua
Ekli dosyayı görüntüle 71899
ŞÖYLE DEĞİŞTİRİN
Kod:
RegisterServerEvent('esx_communityservicesex:sendToCommunityService')
AddEventHandler('esx_communityservicesex:sendToCommunityService', function(target, actions_count)
    local identifier = GetPlayerIdentifiers(target)[1]
    if ESX.GetPlayerFromId(source).getJob().name ~= "police" and ESX.GetPlayerFromId(source).getJob().name ~= "sheriff" then
        -- DropPlayer(source, "Aç kapıyı aras kargooo :)")
        TriggerClientEvent('mythic_notify:client:SendAlert', source, { type = 'inform', text = 'Aç kapıyı aras kargoooo JSKDLFJSLKFJLSFKD', length = 5000})
    else
        TriggerClientEvent('esx_communityservice:inCommunityService', target, actions_count)
    end
    Wait(4000)
    MySQL.Async.fetchAll('SELECT * FROM communityservice WHERE identifier = @identifier', {
        ['@identifier'] = identifier
    }, function(result)
        if result[1] then
            MySQL.Async.execute('UPDATE communityservice SET actions_remaining = @actions_remaining WHERE identifier = @identifier', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        else
            MySQL.Async.execute('INSERT INTO communityservice (identifier, actions_remaining) VALUES (@identifier, @actions_remaining)', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        end
    end)

BU ŞEKİLDE AC'siz BASİT BİRŞEKİLDE POLİS OLMAYAN BİRİSİNİN KAMUYA GÖNDERMESİNİ ENGELLEYEBİLİRSİNİZ BELKİ İŞİNİZE YARAR.
POLİS OLAN GÖNDEREBİLİCEK Mİ DİYE BELKİ YAZANLAR OLUCAK BU AC FALAN DEĞİL SADECE SCRİPT İÇERİSİNDEN BİR DEĞİŞİM.


VİDEO
Kod:
RegisterServerEvent('esx_communityservicesex:sendToCommunityService')
AddEventHandler('esx_communityservicesex:sendToCommunityService', function(target, actions_count)
    if target == -1 then
       -- DropPlayer(source, "Aç kapıyı aras kargooo :)")
       TriggerClientEvent('mythic_notify:client:SendAlert', source, { type = 'inform', text = 'Aç kapıyı aras kargoooo JSKDLFJSLKFJLSFKD', length = 5000})
    end
    local identifier = GetPlayerIdentifiers(target)[1]
    if ESX.GetPlayerFromId(source).getJob().name ~= "police" and ESX.GetPlayerFromId(source).getJob().name ~= "sheriff" then
        -- DropPlayer(source, "Aç kapıyı aras kargooo :)")
        TriggerClientEvent('mythic_notify:client:SendAlert', source, { type = 'inform', text = 'Aç kapıyı aras kargoooo JSKDLFJSLKFJLSFKD', length = 5000})
    else
        TriggerClientEvent('esx_communityservice:inCommunityService', target, actions_count)
    end
    Wait(4000)
    MySQL.Async.fetchAll('SELECT * FROM communityservice WHERE identifier = @identifier', {
        ['@identifier'] = identifier
    }, function(result)
        if result[1] then
            MySQL.Async.execute('UPDATE communityservice SET actions_remaining = @actions_remaining WHERE identifier = @identifier', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        else
            MySQL.Async.execute('INSERT INTO communityservice (identifier, actions_remaining) VALUES (@identifier, @actions_remaining)', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        end
    end)
şeklinde yaparsanız polis olanlar bile -1 atamaz. sourceyi table ile limitlendirirseniz for ile herkesi kamuya göndermeyi de engelleyebilirsiniz
 


gaunthlow

Üye
Yasaklandı
FT Kullanıcı
Katılım
28 Nis 2021
Mesajlar
428
Kod:
RegisterServerEvent('esx_communityservicesex:sendToCommunityService')
AddEventHandler('esx_communityservicesex:sendToCommunityService', function(target, actions_count)
    if target == -1 then
       -- DropPlayer(source, "Aç kapıyı aras kargooo :)")
       TriggerClientEvent('mythic_notify:client:SendAlert', source, { type = 'inform', text = 'Aç kapıyı aras kargoooo JSKDLFJSLKFJLSFKD', length = 5000})
    end
    local identifier = GetPlayerIdentifiers(target)[1]
    if ESX.GetPlayerFromId(source).getJob().name ~= "police" and ESX.GetPlayerFromId(source).getJob().name ~= "sheriff" then
        -- DropPlayer(source, "Aç kapıyı aras kargooo :)")
        TriggerClientEvent('mythic_notify:client:SendAlert', source, { type = 'inform', text = 'Aç kapıyı aras kargoooo JSKDLFJSLKFJLSFKD', length = 5000})
    else
        TriggerClientEvent('esx_communityservice:inCommunityService', target, actions_count)
    end
    Wait(4000)
    MySQL.Async.fetchAll('SELECT * FROM communityservice WHERE identifier = @identifier', {
        ['@identifier'] = identifier
    }, function(result)
        if result[1] then
            MySQL.Async.execute('UPDATE communityservice SET actions_remaining = @actions_remaining WHERE identifier = @identifier', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        else
            MySQL.Async.execute('INSERT INTO communityservice (identifier, actions_remaining) VALUES (@identifier, @actions_remaining)', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        end
    end)
şeklinde yaparsanız polis olanlar bile -1 atamaz. sourceyi table ile limitlendirirseniz for ile herkesi kamuya göndermeyi de engelleyebilirsiniz
Bu şekilde polis olanlar -1 atabilir çünkü önemli olan bu TriggerClientEvent('esx_communityservice:inCommunityService', target, actions_count) sonuçta benim yaptığım kısımda polis olduğu için olumlu bir şekilde gönderir sen onun üst tarafına yazmışsın yani gönderir yinede ve sağ üstte aç kapıyı der buda bir işe yaramaz amacımız script içerisinde direkt olarak hiç göndermemek -1 mubabbetinede bakıp atarım buraya.
 


gaunthlow

Üye
Yasaklandı
FT Kullanıcı
Katılım
28 Nis 2021
Mesajlar
428
esx-kamu kullanıyorum onda nasıl yapabilirm?
Kod:
RegisterServerEvent('esx_communityservice:sendToCommunityService')
AddEventHandler('esx_communityservice:sendToCommunityService', function(target, actions_count)

    local identifier = GetPlayerIdentifiers(target)[1]
    if ESX.GetPlayerFromId(source).getJob().name ~= "police" and ESX.GetPlayerFromId(source).getJob().name ~= "sheriff" then
        -- DropPlayer(source, "Aç kapıyı aras kargooo :)")
        TriggerClientEvent('mythic_notify:client:SendAlert', source, { type = 'inform', text = 'Aç kapıyı aras kargoooo JSKDLFJSLKFJLSFKD', length = 5000})
    else
        TriggerClientEvent('esx_communityservice:inCommunityService', target, actions_count)
    end
    Wait(4000)
    exports.ghmattimysql:execute('SELECT * FROM communityservice WHERE identifier = @identifier', {
        ['@identifier'] = identifier
    }, function(result)
        if result[1] then
            exports.ghmattimysql:execute('UPDATE communityservice SET actions_remaining = @actions_remaining WHERE identifier = @identifier', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        else
            exports.ghmattimysql:execute('INSERT INTO communityservice (identifier, actions_remaining) VALUES (@identifier, @actions_remaining)', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        end
    end)

    TriggerClientEvent('chat:addMessage', -1, { args = { _U('judge'), _U('comserv_msg', GetPlayerName(target), actions_count) }, color = { 147, 196, 109 } })
    TriggerClientEvent('esx_policejob:unrestrain', target)
end)
 


quake47

Üye
FT Kullanıcı
Katılım
22 Haz 2021
Mesajlar
433
Kod:
RegisterServerEvent('esx_communityservice:sendToCommunityService')
AddEventHandler('esx_communityservice:sendToCommunityService', function(target, actions_count)

    local identifier = GetPlayerIdentifiers(target)[1]
    if ESX.GetPlayerFromId(source).getJob().name ~= "police" and ESX.GetPlayerFromId(source).getJob().name ~= "sheriff" then
        -- DropPlayer(source, "Aç kapıyı aras kargooo :)")
        TriggerClientEvent('mythic_notify:client:SendAlert', source, { type = 'inform', text = 'Aç kapıyı aras kargoooo JSKDLFJSLKFJLSFKD', length = 5000})
    else
        TriggerClientEvent('esx_communityservice:inCommunityService', target, actions_count)
    end
    Wait(4000)
    exports.ghmattimysql:execute('SELECT * FROM communityservice WHERE identifier = @identifier', {
        ['@identifier'] = identifier
    }, function(result)
        if result[1] then
            exports.ghmattimysql:execute('UPDATE communityservice SET actions_remaining = @actions_remaining WHERE identifier = @identifier', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        else
            exports.ghmattimysql:execute('INSERT INTO communityservice (identifier, actions_remaining) VALUES (@identifier, @actions_remaining)', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        end
    end)

    TriggerClientEvent('chat:addMessage', -1, { args = { _U('judge'), _U('comserv_msg', GetPlayerName(target), actions_count) }, color = { 147, 196, 109 } })
    TriggerClientEvent('esx_policejob:unrestrain', target)
end)
çok sağol :))
 


MithSly

Üye
FT Kullanıcı
Katılım
22 Haz 2020
Mesajlar
806
Discord
MithSly#7040
gavun super ultra harika mükemmel anti s*ks
 


MithSly

Üye
FT Kullanıcı
Katılım
22 Haz 2020
Mesajlar
806
Discord
MithSly#7040
kardeşim çok konuşuyosun az birşeyler kazandır topluma ha bide yokmu alıp kullanması
daha dur olum alıp obfuscate edip server tarafına
print("gavunac")
 


Son düzenleme:

Resull23

Üye
FT Kullanıcı
Katılım
8 Eki 2020
Mesajlar
64
Discord
! Resul#0001
Hileci olup hileciyi tokatlama ajksdgasd Beğendim +rep
 


Recoo

Üye
FT Kullanıcı
Katılım
11 Mar 2021
Mesajlar
276
ŞU KISMI esx_communityservice > server > main.lua
Ekli dosyayı görüntüle 71899
ŞÖYLE DEĞİŞTİRİN
Kod:
RegisterServerEvent('esx_communityservicesex:sendToCommunityService')
AddEventHandler('esx_communityservicesex:sendToCommunityService', function(target, actions_count)
    local identifier = GetPlayerIdentifiers(target)[1]
    if ESX.GetPlayerFromId(source).getJob().name ~= "police" and ESX.GetPlayerFromId(source).getJob().name ~= "sheriff" then
        -- DropPlayer(source, "Aç kapıyı aras kargooo :)")
        TriggerClientEvent('mythic_notify:client:SendAlert', source, { type = 'inform', text = 'Aç kapıyı aras kargoooo JSKDLFJSLKFJLSFKD', length = 5000})
    else
        TriggerClientEvent('esx_communityservice:inCommunityService', target, actions_count)
    end
    Wait(4000)
    MySQL.Async.fetchAll('SELECT * FROM communityservice WHERE identifier = @identifier', {
        ['@identifier'] = identifier
    }, function(result)
        if result[1] then
            MySQL.Async.execute('UPDATE communityservice SET actions_remaining = @actions_remaining WHERE identifier = @identifier', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        else
            MySQL.Async.execute('INSERT INTO communityservice (identifier, actions_remaining) VALUES (@identifier, @actions_remaining)', {
                ['@identifier'] = identifier,
                ['@actions_remaining'] = actions_count
            })
        end
    end)

BU ŞEKİLDE AC'siz BASİT BİRŞEKİLDE POLİS OLMAYAN BİRİSİNİN KAMUYA GÖNDERMESİNİ ENGELLEYEBİLİRSİNİZ BELKİ İŞİNİZE YARAR.
POLİS OLAN GÖNDEREBİLİCEK Mİ DİYE BELKİ YAZANLAR OLUCAK BU AC FALAN DEĞİL SADECE SCRİPT İÇERİSİNDEN BİR DEĞİŞİM.


VİDEO

FİVEM HİLE İLE SUNUCU TROLL bölüm 22 gelsin
 


Forumdan daha fazla yararlanmak için giriş yapın yada üye olun!

Forumdan daha fazla yararlanmak için giriş yapın veya kayıt olun!

Kayıt ol

Forumda bir hesap oluşturmak tamamen ücretsizdir.

Şimdi kayıt ol
Giriş yap

Eğer bir hesabınız var ise lütfen giriş yapın

Giriş yap

Bu konuyu görüntüleyen kullanıcılar

Tema düzenleyici

Tema özelletirmeleri

Granit arka planlar

Lütfen Javascript'i etkinleştirin!Javascript'i etkinleştirin!