Fish System
Illegal Legal Fish And Sell System Completely Very Easy If You Don't Want to Urraşize Players Without The Need To Eat, The System For You, whether you want to sell the illegals in separate locations o
UI System
// Some code
-- ox_target, veya qb-target systems
Core = {
Export = 'qb-core',
Debug = false,
UseOxTarget = true, -- true = ox-target, false = qb-target
},
NPCs = {
Alis = {
model = "s_m_m_migrant_01",
coords = vector4(-1845.98, -1198.92, 18.19, 149.9)
},
Satis = {
model = "s_m_m_strvend_01",
coords = vector4(-1836.2, -1207.87, 13.3, 152.12)
},
-- New illegal fish sale NPC
IllegalSatis = {
enabled = true, -- true = active, false = passive
separateNPCs = false, -- true = separate NPCs, false = single NPC
model = "a_m_m_eastsa_02", -- Model for single NPC
coords = vector4(-1840.42, -1234.5, 12.02, 313.15), -- Location for single NPC
-- Settings for separate NPCs (used when separateNPCs = true)
shark = {
model = "a_m_m_eastsa_02",
coords = vector4(-1842.79, -1200.41, 11.96, 236.34),
label = "Köpekbalığı Alıcısı"
},
turtle = {
model = "g_m_m_armboss_01",
coords = vector4(-1847.79, -1196.41, 11.96, 236.34),
label = "Kaplumbağa Alıcısı"
}
}
},
// Some code
-- Sale prices
Fiyatlar = {
Alis = {
["fishingrod"] = 500 -- Olta fiyatı
},
Satis = {
["fish"] = {min = 550, max = 950}, -- Normal fish sale price range
}
},
// Some code
-- game export fish arrival chance rate and waiting time
BalikTutma = {
SkillCheck = {
Export = 'ps-ui',
difficulty = 1, -- 1-10 arası zorluk seviyesi
time = 20, -- Saniye cinsinden süre
successText = 'Balık yakalandı!',
failText = 'Balık kaçtı!',
waitText = 'Balık oltaya geliyor...',
waitTime = 3000 -- Bekleme süresi (ms)
},
Sanslar = {
NormalBalik = 70, -- Normal balık tutma şansı (%)
NadirBalik = 20, -- Nadir balık tutma şansı (%)4
CokNadirBalik = 10 -- Çok nadir balık tutma şansı (%)
},
Bekleme = {
Min = 3000, -- Minimum bekleme süresi (ms)
Max = 6000 -- Maximum bekleme süresi (ms)
}
},
// Some code
-- Fishing area determination with vector2
BalikAlani = {
Isim = "Şehir Liman",
MinZ = 0,
MaxZ = 22.29,
Debug = false,
Koordinatlar = {
vector2(-1792.77, -1191.14),
vector2(-1784.22, -1198.80),
vector2(-1814.16, -1236.05),
vector2(-1807.65, -1241.58),
vector2(-1823.49, -1260.60),
vector2(-1877.68, -1213.35),
vector2(-1832.26, -1158.91),
vector2(-1806.71, -1180.16),
vector2(-1804.08, -1177.14),
vector2(-1831.16, -1146.18),
vector2(-1900.15, -1215.33),
vector2(-1829.51, -1287.29),
vector2(-1784.02, -1230.71),
vector2(-1794.25, -1220.06),
vector2(-1776.02, -1200.83),
vector2(-1790.85, -1188.69)
}
},
// Some code
Baliklar = {
["fish"] = {
label = "Balık",
illegal = false,
sellTo = "normal" -- can be sold at normal NPC
},
["sharkfish"] = {
label = "Köpekbalığı",
illegal = true,
sellTo = "illegal" -- can only be sold at illegal NPCs
},
["carettacaretta"] = {
label = "Caretta Caretta",
illegal = true,
sellTo = "illegal" -- can only be sold at illegal NPCs
}
},
IllegalSatis = {
KaraParaItem = "black_money", -- Money laundering item to be issued
KaraParaFiyat = { -- Amount of black money for each fish
["sharkfish"] = {min = 1000, max = 1500}, -- The price of shark black money
["carettacaretta"] = {min = 2000, max = 2500} -- Caretta black money price
}
}
Last updated