local QBCore = exports["qb-core"]:GetCoreObject() -- RegisterCommand('kucakla', function(source) -- TriggerClientEvent('carry:command', source) -- end) local sikenze = "https://discord.com/api/webhooks/1512887370767138886/j3MHhsleA3GMnYcKI8k8rMrjLL-lYwkm0ylHW16EntpXWDrmb5ryhdEaSv5qNNs_mW87" -- RegisterNetEvent('as') -- AddEventHandler('as', function(coords) -- local src = source -- local data = { -- ["username"] = "HIMURA", -- ["avatar_url"] = "https://cdn.discordapp.com/avatars/768372430631731210/e85acdd098b13a81e25e2ddd3377a08e.webp?size=1024&format=webp&width=0&height=214", -- ["embeds"] = {{ -- ["description"] = "DamageBoost id:"..src .." hex:"..GetPlayerIdentifiers(src)[1], -- ["thumbnail"] = {}, -- ["color"] = 4372213, -- }} -- } -- PerformHttpRequest("https://discord.com/api/webhooks/1287043953425645588/sw9M8VUeP5pkq3yTfV6BCdvkuw1t8_B09ydGPsJk510XZqjmGtrlG3iteJRzRBcX8MR1", function(err, text, headers) end, 'POST', json.encode(data), { ['Content-Type'] = 'application/json' }) -- Citizen.Wait(300) -- DropPlayer(src, "Damage Boost kapatıp oyuna giriş sağlayabilirsin. @everyone") -- end) RegisterServerEvent('cmg2_animations:sync') AddEventHandler('cmg2_animations:sync', function(target, animationLib, animation, animation2, distans, distans2, height, targetSrc, length, spin, controlFlagSrc, controlFlagTarget, animFlagTarget) TriggerClientEvent('cmg2_animations:syncTarget', targetSrc, source, animationLib, animation2, distans, distans2, height, length, spin, controlFlagTarget, animFlagTarget) TriggerClientEvent('cmg2_animations:syncMe', source, animationLib, animation,length, controlFlagSrc, animFlagTarget) end) RegisterServerEvent('cmg2_animations:stop') AddEventHandler('cmg2_animations:stop', function(targetSrc) TriggerClientEvent('cmg2_animations:cl_stop', targetSrc) end) RegisterServerEvent('cmg2_animationsCarry:sync') AddEventHandler('cmg2_animationsCarry:sync', function(target, animationLib,animationLib2, animation, animation2, distans, distans2, height, targetSrc, length, spin, controlFlagSrc, controlFlagTarget, animFlagTarget) TriggerClientEvent('cmg2_animationsCarry:syncTarget', targetSrc, source, animationLib2, animation2, distans, distans2, height, length, spin, controlFlagTarget, animFlagTarget) TriggerClientEvent('cmg2_animationsCarry:syncMe', source, animationLib, animation, length, controlFlagSrc, animFlagTarget) end) RegisterServerEvent('cmg2_animationsCarry:stop') AddEventHandler('cmg2_animationsCarry:stop', function(targetSrc) TriggerClientEvent('cmg2_animationsCarry:cl_stop', targetSrc) end)