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

Çözüldü F3 Açılmıyor

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Darkris

Üye
FT Kullanıcı
Katılım
2 yıl 8 ay 22 gün
Mesajlar
107
Yeni Bir Ambulancejob Yükledim F3 Menüm Açılmamaya Başladı Yardım Edermisiniz
 
DF

Ekli dosyalar

  • resim_2021-11-18_235547.png
    resim_2021-11-18_235547.png
    25 KB · Görüntüleme: 40
esx_ambulancejob'un içinde getDeath diye bir export yok.
 
DF
exports {
'GetDeath'
}


fxmanifest'e bunu ekle
 
DF
indirdiğin f3 scriptinde getDeath exportu olmayabilir onu kontrol et
ESX, job = nil, 'unemployed'
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(0)
end

while ESX.GetPlayerData().job == nil do
Citizen.Wait(10)
end


ESX.PlayerData = ESX.GetPlayerData()
job = ESX.PlayerData.job.name
end)

RegisterNetEvent('esx:setJob')
AddEventHandler('esx:setJob', function(currentjob)
job = currentjob.name
end)

AddEventHandler('esx:eek:nPlayerDeath', function(data)
isDead = true
end)


rootMenuConfig = {
{
id = "general",
displayName = "Genel",
icon = "#genel",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if not IsPedInAnyVehicle(PlayerPedId(), true) and not deadP then
return true
end
end,
subMenus = {"genel:cuzdan", "genel:anims", "genel:kiyafet"}
},
{
id = "general",
displayName = "En Yakın",
icon = "#blips",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if not deadP then
return true
end
end,
subMenus = {"blips:gasstations", "blips:market", "blips:bank", "blips:clotheshop", "blips:garages"}
},

{
id = "walkingstyle",
displayName = "Yürüyüş Stilleri",
icon = "#walking",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if not IsPedInAnyVehicle(PlayerPedId(), true) and not deadP then
return true
end
end,
subMenus = {"walkingstyle:brave", "walkingstyle:hurry", "walkingstyle:business", "walkingstyle:tipsy", "walkingstyle:injured","walkingstyle:tough", "walkingstyle:default", "walkingstyle:hobo", "walkingstyle:money", "walkingstyle:swagger", "walkingstyle:shady", "walkingstyle:maneater", "walkingstyle:chichi", "walkingstyle:sassy", "walkingstyle:sad", "walkingstyle:posh", "walkingstyle:alien" }
},
{
id = "carmenu",
displayName = "Araç",
icon = "#police-vehicle",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if IsPedInAnyVehicle(PlayerPedId(), true) and not deadP then
return true
end
end,
functionName = "carmenu",
},
-- {
-- id = "stopanim",
-- displayName = "Animasyon İptali",
-- icon = "#anims",
-- enableMenu = function() local deadP = exports['esx_ambulancejob']:GetDeath() if not IsPedInAnyVehicle(PlayerPedId(), true) and not deadP then return true end end,
-- functionName = "animasyon:iptal"
-- },
{
id = "expressions",
displayName = "Ruh Hali",
icon = "#expressions",
enableMenu = function() local deadP = exports['esx_ambulancejob']:GetDeath() if not deadP then return true end end,
subMenus = { "expressions:normal", "expressions:drunk", "expressions:angry", "expressions:dumb", "expressions:electrocuted", "expressions:grumpy", "expressions:happy", "expressions:injured", "expressions:joyful", "expressions:mouthbreather", "expressions:eek:neeye", "expressions:shocked", "expressions:sleeping", "expressions:smug", "expressions:speculative", "expressions:stressed", "expressions:sulking", "expressions:weird", "expressions:weird2"}
},
{
id = "police-action",
displayName = "Polis Eylemleri",
icon = "#police-action",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if job == "police" and not deadP then
return true
end
end,
subMenus = {"police:hardcuff", "police:softcuff", "police:uncuff", "police:search", "police:escort", "police:putinvehicle", "police:takefromvehicle", "police:impound", "police:checkBill", "police:billing", "police:communityservice", "police:jailaga", "police:checklicenses", "police:gsr", "police:checkAccount"}
},
{
id = "sheriff-action",
displayName = "Şerif Eylemleri",
icon = "#police-action",
enableMenu = function()
if job == "sheriff" then
return true
end
end,
subMenus = {"sheriff:hardcuff", "sheriff:softcuff", "sheriff:uncuff", "sheriff:search", "sheriff:escort", "sheriff:putinvehicle", "sheriff:takefromvehicle", "sheriff:impound", "sheriff:checkBill", "sheriff:billing", "sheriff:checklicenses", "sheriff:gsr", "sheriff:checkAccount", "sheriff:communityservice"}
},
{
id = "cardealer",
displayName = "Galerici Eylemleri",
icon = "#police-vehicle",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if (job == "cardealer" or job == "cardealer2") and (not deadP) then
return true
end
end,
subMenus = {"cardealer:bill", "cardealer:giveKey"}
},
{
id = "medic",
displayName = "EMS",
icon = "#medic",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if job == "ambulance" and not deadP then
return true
end
end,
subMenus = {"medic:revive", "medic:heal", "medic:bigheal", "medic:putinvehicle", "medic:takeoutvehicle", "medic:bill"}
}
}

newSubMenus = {
-- walking styles

['walkingstyle:brave'] = {
title = "Cesur",
icon = "#animation-brave",
functionName = "AnimSet:Brave"
},
['walkingstyle:hurry'] = {
title = "Acele",
icon = "#animation-hurry",
functionName = "AnimSet:Hurry"
},
['walkingstyle:business'] = {
title = "İş",
icon = "#animation-business",
functionName = "AnimSet:Business"
},
['walkingstyle:tipsy'] = {
title = "Alkollü",
icon = "#animation-tipsy",
functionName = "AnimSet:Tipsy"
},
['walkingstyle:injured'] = {
title = "Yaralı",
icon = "#animation-injured",
functionName = "AnimSet:Injured"
},
['walkingstyle:tough'] = {
title = "Zorlu",
icon = "#animation-tough",
functionName = "AnimSet:ToughGuy"
},
['walkingstyle:sassy'] = {
title = "Şımarık",
icon = "#animation-sassy",
functionName = "AnimSet:Sassy"
},
['walkingstyle:sad'] = {
title = "Üzgün",
icon = "#animation-sad",
functionName = "AnimSet:Sad"
},
['walkingstyle:posh'] = {
title = "Lüks",
icon = "#animation-posh",
functionName = "AnimSet:posh"
},
['walkingstyle:alien'] = {
title = "Yabancı",
icon = "#animation-alien",
functionName = "AnimSet:Alien"
},
['walkingstyle:nonchalant'] = {
title = "Soğukkanlı",
icon = "#animation-nonchalant",
functionName = "AnimSet:NonChalant"
},
['walkingstyle:hobo'] = {
title = "Serseri",
icon = "#animation-hobo",
functionName = "AnimSet:Hobo"
},
['walkingstyle:money'] = {
title = "Zengin",
icon = "#animation-money",
functionName = "AnimSet:Money"
},
['walkingstyle:swagger'] = {
title = "Çalımlı",
icon = "#animation-swagger",
functionName = "AnimSet:Swagger"
},
['walkingstyle:shady'] = {
title = "Gizemli",
icon = "#animation-shady",
functionName = "AnimSet:Shady"
},
['walkingstyle:maneater'] = {
title = "Baştan Çıkaran",
icon = "#animation-maneater",
functionName = "AnimSet:ManEater"
},
['walkingstyle:chichi'] = {
title = "ChiChi",
icon = "#animation-chichi",
functionName = "AnimSet:ChiChi"
},
['walkingstyle:default'] = {
title = "Normal",
icon = "#animation-default",
functionName = "AnimSet:default"
},

-- expressions

["expressions:angry"] = {
title="Sinirli",
icon="#expressions-angry",
functionName = "expressions",
functionParameters = { "mood_angry_1" }
},
["expressions:drunk"] = {
title="Sarhoş",
icon="#expressions-drunk",
functionName = "expressions",
functionParameters = { "mood_drunk_1" }
},
["expressions:dumb"] = {
title="Aptal",
icon="#expressions-dumb",
functionName = "expressions",
functionParameters = { "pose_injured_1" }
},
["expressions:electrocuted"] = {
title="Şok",
icon="#expressions-electrocuted",
functionName = "expressions",
functionParameters = { "electrocuted_1" }
},
["expressions:grumpy"] = {
title="Huysuz",
icon="#expressions-grumpy",
functionName = "expressions",
functionParameters = { "mood_drivefast_1" }
},
["expressions:happy"] = {
title="Mutlu",
icon="#expressions-happy",
functionName = "expressions",
functionParameters = { "mood_happy_1" }
},
["expressions:injured"] = {
title="Yaralı",
icon="#expressions-injured",
functionName = "expressions",
functionParameters = { "mood_injured_1" }
},
["expressions:joyful"] = {
title="Neşeli",
icon="#expressions-joyful",
functionName = "expressions",
functionParameters = { "mood_dancing_low_1" }
},
["expressions:mouthbreather"] = {
title="Ağzı Açık",
icon="#expressions-mouthbreather",
functionName = "expressions",
functionParameters = { "smoking_hold_1" }
},
["expressions:normal"] = {
title="Normal",
icon="#expressions-normal",
functionName = "expressions:clear"
},
["expressions:eek:neeye"] = {
title="Tek Göz",
icon="#expressions-oneeye",
functionName = "expressions",
functionParameters = { "pose_aiming_1" }
},
["expressions:shocked"] = {
title="Şok Olmuş",
icon="#expressions-shocked",
functionName = "expressions",
functionParameters = { "shocked_1" }
},
["expressions:sleeping"] = {
title="Uykulu",
icon="#expressions-sleeping",
functionName = "expressions",
functionParameters = { "dead_1" }
},
["expressions:smug"] = {
title="Kibirli",
icon="#expressions-smug",
functionName = "expressions",
functionParameters = { "mood_smug_1" }
},
["expressions:speculative"] = {
title="Düşündürücü",
icon="#expressions-speculative",
functionName = "expressions",
functionParameters = { "mood_aiming_1" }
},
["expressions:stressed"] = {
title="Stresli",
icon="#expressions-stressed",
functionName = "expressions",
functionParameters = { "mood_stressed_1" }
},
["expressions:sulking"] = {
title="Somurtgan",
icon="#expressions-sulking",
functionName = "expressions",
functionParameters = { "mood_sulk_1" },
},
["expressions:weird"] = {
title="Tuhaf",
icon="#expressions-weird",
functionName = "expressions",
functionParameters = { "effort_2" }
},
["expressions:weird2"] = {
title="Tuhaf 2",
icon="#expressions-weird2",
functionName = "expressions",
functionParameters = { "effort_3" }
},

--police
['police:hardcuff'] = {
title = "Sert Kelepçe",
icon = "#cuffs-cuff",
functionName = "police:hardcuff"
},
['police:softcuff'] = {
title = "Hafif Kelepçe",
icon = "#cuffs-cuff",
functionName = "police:softcuff"
},
['police:uncuff'] = {
title = "Kelepçeyi Çöz",
icon = "#cuffs-uncuff",
functionName = "police:uncuff"
},
-- ['police:removemask'] = {
-- title = "Maske Çıkar",
-- icon = "#cuffs-remove-mask",
-- functionName = "police:removeMask1"
-- },
['police:search'] = {
title = "Kişiyi Ara",
icon = "#cuffs-check-inventory",
functionName = "police:searchInv"
},
['police:escort'] = {
title = "Taşı",
icon = "#general-escort",
functionName = "police:escort"
},
['police:putinvehicle'] = {
title = "Araca Bindir",
icon = "#general-put-in-veh",
functionName = "police:putinvehicle"
},
['police:takefromvehicle'] = {
title = "Araçtan İndir",
icon = "#general-unseat-nearest",
functionName = "police:takefromvehicle"
},
['police:impound'] = {
title = "Aracı Bağla",
icon = "#police-vehicle",
functionName = "police:impound"
},
['police:checkBill'] = {
title = "Fatura Kontrolü",
icon = "#check-bills",
functionName = "police:checkBill"
},
['police:billing'] = {
title = "Fatura Kes",
icon = "#fine-amount",
functionName = "police:billing"
},
['police:checklicenses'] = {
title = "Lisanslar",
icon = "#police-check-licenses",
functionName = "police:checkLicenses2"
},
['police:gsr'] = {
title = "GSR Test",
icon = "#police-action-gsr",
functionName = "police:checkGSR"
},
['police:checkAccount'] = {
title = "Mali Kontrol",
icon = "#mdt-fizz",
functionName = "police:checkAccount"
},
['police:communityservice'] = {
title = "Kamu Hizmeti",
icon = "#broom-fizz",
functionName = "police:communityservice"
},
['police:jailaga'] = {
title = "Hapis Cezası",
icon = "#jail-fizz",
functionName = "emr:execute",
functionParameters = {"hapismenü"}
},
--ems
['medic:revive'] = {
title = "İlkyardım",
icon = "#medic-revive",
functionName = "medic:emsRevive"
},
['medic:heal'] = {
title = "Hafif Müdahale",
icon = "#medic-heal",
functionName = "medic:emssmallheal"
},
['medic:bigheal'] = {
title = "Ciddi Müdahale",
icon = "#ciddimud",
functionName = "medic:emsbigheal"
},
['medic:putinvehicle'] = {
title = "Araca Koy",
icon = "#general-put-in-veh",
functionName = "medic:emsputinveh"
},
['medic:takeoutvehicle'] = {
title = "Araçtan İndir",
icon = "#general-unseat-nearest",
functionName = "medic:emstakeoutvehicle"
},
['medic:bill'] = {
title = "Fatura Kes",
icon = "#fine-amount",
functionName = "medic:bill"
},


-- Serif
['sheriff:hardcuff'] = {
title = "Sert Kelepçe",
icon = "#cuffs-cuff",
functionName = "sheriff:hardcuff"
},
['sheriff:softcuff'] = {
title = "Hafif Kelepçe",
icon = "#cuffs-cuff",
functionName = "sheriff:softcuff"
},
['sheriff:uncuff'] = {
title = "Kelepçeyi Çöz",
icon = "#cuffs-uncuff",
functionName = "sheriff:uncuff"
},
-- ['sheriff:removemask'] = {
-- title = "Maske Çıkar",
-- icon = "#cuffs-remove-mask",
-- functionName = "sheriff:removeMask1"
-- },
['sheriff:search'] = {
title = "Kişiyi Ara",
icon = "#cuffs-check-inventory",
functionName = "sheriff:searchInv"
},
['sheriff:escort'] = {
title = "Taşı",
icon = "#general-escort",
functionName = "sheriff:escort"
},
['sheriff:putinvehicle'] = {
title = "Araca Bindir",
icon = "#general-put-in-veh",
functionName = "sheriff:putinveh"
},
['sheriff:takefromvehicle'] = {
title = "Araçtan İndir",
icon = "#general-unseat-nearest",
functionName = "sheriff:takefromvehicle"
},
['sheriff:impound'] = {
title = "Aracı Bağla",
icon = "#police-vehicle",
functionName = "sheriff:impound"
},
['sheriff:checkBill'] = {
title = "Fatura Kontrolü",
icon = "#check-bills",
functionName = "sheriff:checkBill"
},
['sheriff:billing'] = {
title = "Fatura Kes",
icon = "#fine-amount",
functionName = "sheriff:billing"
},
['sheriff:checklicenses'] = {
title = "Lisanslar",
icon = "#police-check-licenses",
functionName = "sheriff:checkLicenses2"
},
['sheriff:gsr'] = {
title = "GSR Test",
icon = "#police-action-gsr",
functionName = "sheriff:checkGSR"
},
['sheriff:checkAccount'] = {
title = "Mali Kontrol",
icon = "#mdt-fizz",
functionName = "sheriff:checkAccount"
},
['sheriff:communityservice'] = {
title = "Kamu Hizmeti",
icon = "#broom-fizz",
functionName = "sheriff:communityservice"
},

--cardealer
['cardealer:bill'] = {
title = "Fatura Kes",
icon = "#fine-amount",
functionName = "cardealer:billing"
},
['cardealer:giveKey'] = {
title = "Aracı Devret",
icon = "#police-vehicle",
functionName = "esx_givecarkeys:keys"
},

--other
['blips:market'] = {
title = "Market",
icon = "#blips-market",
functionName = "edz:market"
},
['blips:gasstations'] = {
title = "Benzin",
icon = "#blips-gasstations",
functionName = "edz:togglegas"
},
['blips:bank'] = {
title = "Banka",
icon = "#blips-bank",
functionName = "edz:bankblip"
},
['blips:clotheshop'] = {
title = "Kıyafetçi",
icon = "#blips-clothe",
functionName = "edz:toggleclothes"
},
['blips:garages'] = {
title = "Garaj",
icon = "#blips-garages",
functionName = "edz:togglegarage"
},
--
['genel:anims'] = {
title = "Animasyon",
icon = "#anims",
functionName = "dp:RecieveMenu"
},
['genel:hud'] = {
title = "Hud Menü",
icon = "#hudmenu",
functionName = "emr:execute",
functionParameters = {"hud"}
},
['genel:ustara'] = {
title = "Üst Ara",
icon = "#ustara",
functionName = "emr:execute",
functionParameters = {"soy"}
},
-- ['genel:eek:lusoy'] = {
-- title = "Ölü Soy",
-- icon = "#ustara",
-- functionName = "emr:execute",
-- functionParameters = {"ölüsoy"}
-- },
['genel:cuzdan'] = {
title = "Cüzdan",
icon = "#cuzdan",
functionName = "nw:wallet:client"
},
['genel:kiyafet'] = {
title = "Kıyafet",
icon = "#tshirt",
functionName = "kiyafet:menu"
},

}

RegisterNetEvent('carmenu')
AddEventHandler('carmenu', function()
ExecuteCommand('arac')
end)

RegisterNetEvent('kiyafet:menu')
AddEventHandler('kiyafet:menu', function()
ExecuteCommand('km')
end)

RegisterNetEvent('animasyon:iptal')
AddEventHandler('animasyon:iptal', function()
ClearPedTasks(PlayerPedId())
TriggerEvent('fishing:break')
end)



bi bakarmısın knk zahmet olmazsa
 
DF
ambulancejob/main.lua içerisinde en sona bunu yaz :

Kod:
function GetDeath()
if isDead then
    return true
else
    return false
end

Daha sonra fxmanifest dosyasini ac ve : export "GetDeath" yaz
knk discord versen yapsak olurmu çünkü ben gene yaptım olmadı radialmenü bozuk galiba anlamadım
 
DF
Merhaba
Sorunuzun Cevabı Bu Videoyu İzleyerek Dilediğiniz Şeyleri F3 Menüye Ekleyebilirsiniz
İyi Forumlar Dilerim...
 
DF
şimdide böyle bir hata alıyorum
 
DF

Ekli dosyalar

  • resim_2021-11-19_154858.png
    resim_2021-11-19_154858.png
    30.3 KB · Görüntüleme: 9
ESX, job = nil, 'unemployed'
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(0)
end

while ESX.GetPlayerData().job == nil do
Citizen.Wait(10)
end


ESX.PlayerData = ESX.GetPlayerData()
job = ESX.PlayerData.job.name
end)

RegisterNetEvent('esx:setJob')
AddEventHandler('esx:setJob', function(currentjob)
job = currentjob.name
end)

AddEventHandler('esx:eek:nPlayerDeath', function(data)
isDead = true
end)


rootMenuConfig = {
{
id = "general",
displayName = "Genel",
icon = "#genel",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if not IsPedInAnyVehicle(PlayerPedId(), true) and not deadP then
return true
end
end,
subMenus = {"genel:cuzdan", "genel:anims", "genel:kiyafet"}
},
{
id = "general",
displayName = "En Yakın",
icon = "#blips",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if not deadP then
return true
end
end,
subMenus = {"blips:gasstations", "blips:market", "blips:bank", "blips:clotheshop", "blips:garages"}
},

{
id = "walkingstyle",
displayName = "Yürüyüş Stilleri",
icon = "#walking",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if not IsPedInAnyVehicle(PlayerPedId(), true) and not deadP then
return true
end
end,
subMenus = {"walkingstyle:brave", "walkingstyle:hurry", "walkingstyle:business", "walkingstyle:tipsy", "walkingstyle:injured","walkingstyle:tough", "walkingstyle:default", "walkingstyle:hobo", "walkingstyle:money", "walkingstyle:swagger", "walkingstyle:shady", "walkingstyle:maneater", "walkingstyle:chichi", "walkingstyle:sassy", "walkingstyle:sad", "walkingstyle:posh", "walkingstyle:alien" }
},
{
id = "carmenu",
displayName = "Araç",
icon = "#police-vehicle",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if IsPedInAnyVehicle(PlayerPedId(), true) and not deadP then
return true
end
end,
functionName = "carmenu",
},
-- {
-- id = "stopanim",
-- displayName = "Animasyon İptali",
-- icon = "#anims",
-- enableMenu = function() local deadP = exports['esx_ambulancejob']:GetDeath() if not IsPedInAnyVehicle(PlayerPedId(), true) and not deadP then return true end end,
-- functionName = "animasyon:iptal"
-- },
{
id = "expressions",
displayName = "Ruh Hali",
icon = "#expressions",
enableMenu = function() local deadP = exports['esx_ambulancejob']:GetDeath() if not deadP then return true end end,
subMenus = { "expressions:normal", "expressions:drunk", "expressions:angry", "expressions:dumb", "expressions:electrocuted", "expressions:grumpy", "expressions:happy", "expressions:injured", "expressions:joyful", "expressions:mouthbreather", "expressions:eek:neeye", "expressions:shocked", "expressions:sleeping", "expressions:smug", "expressions:speculative", "expressions:stressed", "expressions:sulking", "expressions:weird", "expressions:weird2"}
},
{
id = "police-action",
displayName = "Polis Eylemleri",
icon = "#police-action",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if job == "police" and not deadP then
return true
end
end,
subMenus = {"police:hardcuff", "police:softcuff", "police:uncuff", "police:search", "police:escort", "police:putinvehicle", "police:takefromvehicle", "police:impound", "police:checkBill", "police:billing", "police:communityservice", "police:jailaga", "police:checklicenses", "police:gsr", "police:checkAccount"}
},
{
id = "sheriff-action",
displayName = "Şerif Eylemleri",
icon = "#police-action",
enableMenu = function()
if job == "sheriff" then
return true
end
end,
subMenus = {"sheriff:hardcuff", "sheriff:softcuff", "sheriff:uncuff", "sheriff:search", "sheriff:escort", "sheriff:putinvehicle", "sheriff:takefromvehicle", "sheriff:impound", "sheriff:checkBill", "sheriff:billing", "sheriff:checklicenses", "sheriff:gsr", "sheriff:checkAccount", "sheriff:communityservice"}
},
{
id = "cardealer",
displayName = "Galerici Eylemleri",
icon = "#police-vehicle",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if (job == "cardealer" or job == "cardealer2") and (not deadP) then
return true
end
end,
subMenus = {"cardealer:bill", "cardealer:giveKey"}
},
{
id = "medic",
displayName = "EMS",
icon = "#medic",
enableMenu = function()
local deadP = exports['esx_ambulancejob']:GetDeath()
if job == "ambulance" and not deadP then
return true
end
end,
subMenus = {"medic:revive", "medic:heal", "medic:bigheal", "medic:putinvehicle", "medic:takeoutvehicle", "medic:bill"}
}
}

newSubMenus = {
-- walking styles

['walkingstyle:brave'] = {
title = "Cesur",
icon = "#animation-brave",
functionName = "AnimSet:Brave"
},
['walkingstyle:hurry'] = {
title = "Acele",
icon = "#animation-hurry",
functionName = "AnimSet:Hurry"
},
['walkingstyle:business'] = {
title = "İş",
icon = "#animation-business",
functionName = "AnimSet:Business"
},
['walkingstyle:tipsy'] = {
title = "Alkollü",
icon = "#animation-tipsy",
functionName = "AnimSet:Tipsy"
},
['walkingstyle:injured'] = {
title = "Yaralı",
icon = "#animation-injured",
functionName = "AnimSet:Injured"
},
['walkingstyle:tough'] = {
title = "Zorlu",
icon = "#animation-tough",
functionName = "AnimSet:ToughGuy"
},
['walkingstyle:sassy'] = {
title = "Şımarık",
icon = "#animation-sassy",
functionName = "AnimSet:Sassy"
},
['walkingstyle:sad'] = {
title = "Üzgün",
icon = "#animation-sad",
functionName = "AnimSet:Sad"
},
['walkingstyle:posh'] = {
title = "Lüks",
icon = "#animation-posh",
functionName = "AnimSet:posh"
},
['walkingstyle:alien'] = {
title = "Yabancı",
icon = "#animation-alien",
functionName = "AnimSet:Alien"
},
['walkingstyle:nonchalant'] = {
title = "Soğukkanlı",
icon = "#animation-nonchalant",
functionName = "AnimSet:NonChalant"
},
['walkingstyle:hobo'] = {
title = "Serseri",
icon = "#animation-hobo",
functionName = "AnimSet:Hobo"
},
['walkingstyle:money'] = {
title = "Zengin",
icon = "#animation-money",
functionName = "AnimSet:Money"
},
['walkingstyle:swagger'] = {
title = "Çalımlı",
icon = "#animation-swagger",
functionName = "AnimSet:Swagger"
},
['walkingstyle:shady'] = {
title = "Gizemli",
icon = "#animation-shady",
functionName = "AnimSet:Shady"
},
['walkingstyle:maneater'] = {
title = "Baştan Çıkaran",
icon = "#animation-maneater",
functionName = "AnimSet:ManEater"
},
['walkingstyle:chichi'] = {
title = "ChiChi",
icon = "#animation-chichi",
functionName = "AnimSet:ChiChi"
},
['walkingstyle:default'] = {
title = "Normal",
icon = "#animation-default",
functionName = "AnimSet:default"
},

-- expressions

["expressions:angry"] = {
title="Sinirli",
icon="#expressions-angry",
functionName = "expressions",
functionParameters = { "mood_angry_1" }
},
["expressions:drunk"] = {
title="Sarhoş",
icon="#expressions-drunk",
functionName = "expressions",
functionParameters = { "mood_drunk_1" }
},
["expressions:dumb"] = {
title="Aptal",
icon="#expressions-dumb",
functionName = "expressions",
functionParameters = { "pose_injured_1" }
},
["expressions:electrocuted"] = {
title="Şok",
icon="#expressions-electrocuted",
functionName = "expressions",
functionParameters = { "electrocuted_1" }
},
["expressions:grumpy"] = {
title="Huysuz",
icon="#expressions-grumpy",
functionName = "expressions",
functionParameters = { "mood_drivefast_1" }
},
["expressions:happy"] = {
title="Mutlu",
icon="#expressions-happy",
functionName = "expressions",
functionParameters = { "mood_happy_1" }
},
["expressions:injured"] = {
title="Yaralı",
icon="#expressions-injured",
functionName = "expressions",
functionParameters = { "mood_injured_1" }
},
["expressions:joyful"] = {
title="Neşeli",
icon="#expressions-joyful",
functionName = "expressions",
functionParameters = { "mood_dancing_low_1" }
},
["expressions:mouthbreather"] = {
title="Ağzı Açık",
icon="#expressions-mouthbreather",
functionName = "expressions",
functionParameters = { "smoking_hold_1" }
},
["expressions:normal"] = {
title="Normal",
icon="#expressions-normal",
functionName = "expressions:clear"
},
["expressions:eek:neeye"] = {
title="Tek Göz",
icon="#expressions-oneeye",
functionName = "expressions",
functionParameters = { "pose_aiming_1" }
},
["expressions:shocked"] = {
title="Şok Olmuş",
icon="#expressions-shocked",
functionName = "expressions",
functionParameters = { "shocked_1" }
},
["expressions:sleeping"] = {
title="Uykulu",
icon="#expressions-sleeping",
functionName = "expressions",
functionParameters = { "dead_1" }
},
["expressions:smug"] = {
title="Kibirli",
icon="#expressions-smug",
functionName = "expressions",
functionParameters = { "mood_smug_1" }
},
["expressions:speculative"] = {
title="Düşündürücü",
icon="#expressions-speculative",
functionName = "expressions",
functionParameters = { "mood_aiming_1" }
},
["expressions:stressed"] = {
title="Stresli",
icon="#expressions-stressed",
functionName = "expressions",
functionParameters = { "mood_stressed_1" }
},
["expressions:sulking"] = {
title="Somurtgan",
icon="#expressions-sulking",
functionName = "expressions",
functionParameters = { "mood_sulk_1" },
},
["expressions:weird"] = {
title="Tuhaf",
icon="#expressions-weird",
functionName = "expressions",
functionParameters = { "effort_2" }
},
["expressions:weird2"] = {
title="Tuhaf 2",
icon="#expressions-weird2",
functionName = "expressions",
functionParameters = { "effort_3" }
},

--police
['police:hardcuff'] = {
title = "Sert Kelepçe",
icon = "#cuffs-cuff",
functionName = "police:hardcuff"
},
['police:softcuff'] = {
title = "Hafif Kelepçe",
icon = "#cuffs-cuff",
functionName = "police:softcuff"
},
['police:uncuff'] = {
title = "Kelepçeyi Çöz",
icon = "#cuffs-uncuff",
functionName = "police:uncuff"
},
-- ['police:removemask'] = {
-- title = "Maske Çıkar",
-- icon = "#cuffs-remove-mask",
-- functionName = "police:removeMask1"
-- },
['police:search'] = {
title = "Kişiyi Ara",
icon = "#cuffs-check-inventory",
functionName = "police:searchInv"
},
['police:escort'] = {
title = "Taşı",
icon = "#general-escort",
functionName = "police:escort"
},
['police:putinvehicle'] = {
title = "Araca Bindir",
icon = "#general-put-in-veh",
functionName = "police:putinvehicle"
},
['police:takefromvehicle'] = {
title = "Araçtan İndir",
icon = "#general-unseat-nearest",
functionName = "police:takefromvehicle"
},
['police:impound'] = {
title = "Aracı Bağla",
icon = "#police-vehicle",
functionName = "police:impound"
},
['police:checkBill'] = {
title = "Fatura Kontrolü",
icon = "#check-bills",
functionName = "police:checkBill"
},
['police:billing'] = {
title = "Fatura Kes",
icon = "#fine-amount",
functionName = "police:billing"
},
['police:checklicenses'] = {
title = "Lisanslar",
icon = "#police-check-licenses",
functionName = "police:checkLicenses2"
},
['police:gsr'] = {
title = "GSR Test",
icon = "#police-action-gsr",
functionName = "police:checkGSR"
},
['police:checkAccount'] = {
title = "Mali Kontrol",
icon = "#mdt-fizz",
functionName = "police:checkAccount"
},
['police:communityservice'] = {
title = "Kamu Hizmeti",
icon = "#broom-fizz",
functionName = "police:communityservice"
},
['police:jailaga'] = {
title = "Hapis Cezası",
icon = "#jail-fizz",
functionName = "emr:execute",
functionParameters = {"hapismenü"}
},
--ems
['medic:revive'] = {
title = "İlkyardım",
icon = "#medic-revive",
functionName = "medic:emsRevive"
},
['medic:heal'] = {
title = "Hafif Müdahale",
icon = "#medic-heal",
functionName = "medic:emssmallheal"
},
['medic:bigheal'] = {
title = "Ciddi Müdahale",
icon = "#ciddimud",
functionName = "medic:emsbigheal"
},
['medic:putinvehicle'] = {
title = "Araca Koy",
icon = "#general-put-in-veh",
functionName = "medic:emsputinveh"
},
['medic:takeoutvehicle'] = {
title = "Araçtan İndir",
icon = "#general-unseat-nearest",
functionName = "medic:emstakeoutvehicle"
},
['medic:bill'] = {
title = "Fatura Kes",
icon = "#fine-amount",
functionName = "medic:bill"
},


-- Serif
['sheriff:hardcuff'] = {
title = "Sert Kelepçe",
icon = "#cuffs-cuff",
functionName = "sheriff:hardcuff"
},
['sheriff:softcuff'] = {
title = "Hafif Kelepçe",
icon = "#cuffs-cuff",
functionName = "sheriff:softcuff"
},
['sheriff:uncuff'] = {
title = "Kelepçeyi Çöz",
icon = "#cuffs-uncuff",
functionName = "sheriff:uncuff"
},
-- ['sheriff:removemask'] = {
-- title = "Maske Çıkar",
-- icon = "#cuffs-remove-mask",
-- functionName = "sheriff:removeMask1"
-- },
['sheriff:search'] = {
title = "Kişiyi Ara",
icon = "#cuffs-check-inventory",
functionName = "sheriff:searchInv"
},
['sheriff:escort'] = {
title = "Taşı",
icon = "#general-escort",
functionName = "sheriff:escort"
},
['sheriff:putinvehicle'] = {
title = "Araca Bindir",
icon = "#general-put-in-veh",
functionName = "sheriff:putinveh"
},
['sheriff:takefromvehicle'] = {
title = "Araçtan İndir",
icon = "#general-unseat-nearest",
functionName = "sheriff:takefromvehicle"
},
['sheriff:impound'] = {
title = "Aracı Bağla",
icon = "#police-vehicle",
functionName = "sheriff:impound"
},
['sheriff:checkBill'] = {
title = "Fatura Kontrolü",
icon = "#check-bills",
functionName = "sheriff:checkBill"
},
['sheriff:billing'] = {
title = "Fatura Kes",
icon = "#fine-amount",
functionName = "sheriff:billing"
},
['sheriff:checklicenses'] = {
title = "Lisanslar",
icon = "#police-check-licenses",
functionName = "sheriff:checkLicenses2"
},
['sheriff:gsr'] = {
title = "GSR Test",
icon = "#police-action-gsr",
functionName = "sheriff:checkGSR"
},
['sheriff:checkAccount'] = {
title = "Mali Kontrol",
icon = "#mdt-fizz",
functionName = "sheriff:checkAccount"
},
['sheriff:communityservice'] = {
title = "Kamu Hizmeti",
icon = "#broom-fizz",
functionName = "sheriff:communityservice"
},

--cardealer
['cardealer:bill'] = {
title = "Fatura Kes",
icon = "#fine-amount",
functionName = "cardealer:billing"
},
['cardealer:giveKey'] = {
title = "Aracı Devret",
icon = "#police-vehicle",
functionName = "esx_givecarkeys:keys"
},

--other
['blips:market'] = {
title = "Market",
icon = "#blips-market",
functionName = "edz:market"
},
['blips:gasstations'] = {
title = "Benzin",
icon = "#blips-gasstations",
functionName = "edz:togglegas"
},
['blips:bank'] = {
title = "Banka",
icon = "#blips-bank",
functionName = "edz:bankblip"
},
['blips:clotheshop'] = {
title = "Kıyafetçi",
icon = "#blips-clothe",
functionName = "edz:toggleclothes"
},
['blips:garages'] = {
title = "Garaj",
icon = "#blips-garages",
functionName = "edz:togglegarage"
},
--
['genel:anims'] = {
title = "Animasyon",
icon = "#anims",
functionName = "dp:RecieveMenu"
},
['genel:hud'] = {
title = "Hud Menü",
icon = "#hudmenu",
functionName = "emr:execute",
functionParameters = {"hud"}
},
['genel:ustara'] = {
title = "Üst Ara",
icon = "#ustara",
functionName = "emr:execute",
functionParameters = {"soy"}
},
-- ['genel:eek:lusoy'] = {
-- title = "Ölü Soy",
-- icon = "#ustara",
-- functionName = "emr:execute",
-- functionParameters = {"ölüsoy"}
-- },
['genel:cuzdan'] = {
title = "Cüzdan",
icon = "#cuzdan",
functionName = "nw:wallet:client"
},
['genel:kiyafet'] = {
title = "Kıyafet",
icon = "#tshirt",
functionName = "kiyafet:menu"
},

}

RegisterNetEvent('carmenu')
AddEventHandler('carmenu', function()
ExecuteCommand('arac')
end)

RegisterNetEvent('kiyafet:menu')
AddEventHandler('kiyafet:menu', function()
ExecuteCommand('km')
end)

RegisterNetEvent('animasyon:iptal')
AddEventHandler('animasyon:iptal', function()
ClearPedTasks(PlayerPedId())
TriggerEvent('fishing:break')
end)



bi bakarmısın knk zahmet olmazsa
Kanka tek yapacağın CTRL + F > GetDeath
 
DF
Konu Sahibi İsteği Üzerine Konu Tarafımca Kapatılmıştır Ve Ön Eki Cevaplandı Olarak Güncellenmiştir. İyi Forumlar Dilerim...
 
DF
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

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!