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.
Bende Sorun Var Tek 1 Anahtarla Bütün Motel Kapılarını Kapatıp Acabiliyorum Buda SıkıntıMerhaba arkadaşlar, script yazmaya yeni başladım ve hala öğreniyorum. Koda bakarken bunu aklınızda bulundurun.
Yöntemlerim yanlış olabilir, bu yüzden bana nerede yanlış yaptığımı ve bu sorunları nasıl düzeltebileceğimi söylemekten çekinmeyin.
Kodu dilediğiniz gibi düzenleyebilirsiniz. Başka bir doorlock kullanırsanız, script çalışmaz.
Ayrıca vermiş olduğum nui_doorlock üzerinde oynamalar yaptım,Linkleri,görmek için Giriş yap veya üye ol.çalışmaz.
Resmon değerlerine bakamıyorum, denediğimde "Access denied for command resmon." veriyor. Lütfen değerlerin nasıl olduğunu bana bildirin.
Kira ücreti gibi henüz uygulanmayan kısımlar var. Yakında bunları ekleyeceğim. Sadece stabil olup olmadığından emin olmak ve desteğinizi, görüşlerinizi almak istedim.
Kullandığım temel:Linkleri,görmek için Giriş yap veya üye ol.
Anahtarlar.sql'yi kendi item tablonuza göre değiştirin.
Umarım beğenirsin.
Linkleri,görmek için Giriş yap veya üye ol.
Linkleri,görmek için Giriş yap veya üye ol.
Linkleri,görmek için Giriş yap veya üye ol.
Linkleri,görmek için Giriş yap veya üye ol.
Linkleri,görmek için Giriş yap veya üye ol.
Ekli dosyayı görüntüle 51966
Bana 1 Tane Resim Atarmısınız Bende Hiçbiri Yok Motelin
Bu gündermiş olduğum resim html dosyasının içersinde bulunan resimlerden birtanesi. Sitede bir sorun yok gibi.Linkleri,görmek için Giriş yap veya üye ol.Bu link üzerinden indirip bildiğiniz farklı bir upload sitesi varsa onu kullanabilirsiniz.
menuyu nasıl fixlicez bilen var mı ?
bendede aynı sorun oyun açılır açılmaz çıkıyo nedeni nedir ?
ESX = nil
local PlayerData = {}
local display = false
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(0)
end
--setDisplay(false)
--checkAllRooms()
end)
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded', function(xPlayer)
PlayerData = xPlayer
end)
RegisterNetEvent('esx:setJob')
AddEventHandler('esx:setJob', function(job)
PlayerData.job = job
end)
local coordinations = {
vector3(324.8776, -230.289, 54.217),
}
function DrawText3Ds(x,y,z, text)
local onScreen,_x,_y=World3dToScreen2d(x,y,z)
local px,py,pz=table.unpack(GetGameplayCamCoords())
SetTextScale(0.35, 0.35)
SetTextFont(4)
SetTextProportional(1)
SetTextColour(255, 255, 255, 215)
SetTextEntry("STRING")
SetTextCentre(1)
AddTextComponentString(text)
DrawText(_x,_y)
local factor = (string.len(text)) / 370
DrawRect(_x,_y+0.0125, 0.015+ factor, 0.03, 41, 11, 41, 68)
end
Citizen.CreateThread(
function()
while true do
Citizen.Wait(3)
local ped = PlayerPedId()
for i = 1, #coordinations do
local actualcoord = coordinations[i]
local dist = #(actualcoord - GetEntityCoords(ped))
if dist <= 50.0 then
if dist <= 4.0 then
DrawText3Ds(actualcoord.x, actualcoord.y, actualcoord.z,"E basarak motel satin al")
end
DrawMarker(23, actualcoord.x, actualcoord.y, actualcoord.z - 0.97, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 0.7, 200, 10, 10, 100, 0, 0, 0, 0, 0, 0, 0)
if dist <= 2.0 then
if IsControlJustPressed(0, 38) then
checkAllRooms()
display = true
setDisplay(true)
end
end
end
end
end
end)
function setDisplay(bool)
SetNuiFocus(bool, bool)
SendNUIMessage({showUI = bool; })
end
Citizen.CreateThread(function()
while display == false do
setDisplay(false)
Citizen.Wait(0)
end
end)
RegisterNUICallback("exit", function(data)
setDisplay(false)
end)
function checkAllRooms()
checkRoomOne()
checkRoomTwo()
checkRoomThree()
checkRoomFour()
checkRoomFive()
checkRoomSix()
checkRoomSeven()
checkRoomEight()
checkRoomNine()
checkRoomTen()
checkRoomEleven()
checkRoomTwelve()
checkRoomThirteen()
checkRoomFourteen()
end
--Has to be done for every room
RegisterNUICallback("oda1satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda1satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomOne()
ESX.TriggerServerCallback('vcd_motel:oda1check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata = true
}
else
SendNUIMessage{
ownerdata = false
}
end
end, data)
end
RegisterNUICallback("oda1iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda1iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda1ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda1anahtardegistir', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
RegisterNUICallback("oda2satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda2satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomTwo()
ESX.TriggerServerCallback('vcd_motel:oda2check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock2 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata2 = true
}
else
SendNUIMessage{
ownerdata2 = false
}
end
end, data)
end
RegisterNUICallback("oda2iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda2iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda2ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda2anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda3satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda3satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomThree()
ESX.TriggerServerCallback('vcd_motel:oda3check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock3 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata3 = true
}
else
SendNUIMessage{
ownerdata3 = false
}
end
end, data)
end
RegisterNUICallback("oda3iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda3iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda3ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda3anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda4satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda4satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomFour()
ESX.TriggerServerCallback('vcd_motel:oda4check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock4 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata4 = true
}
else
SendNUIMessage{
ownerdata4 = false
}
end
end, data)
end
RegisterNUICallback("oda4iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda4iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda4ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda4anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda5satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda5satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomFive()
ESX.TriggerServerCallback('vcd_motel:oda5check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock5 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata5 = true
}
else
SendNUIMessage{
ownerdata5 = false
}
end
end, data)
end
RegisterNUICallback("oda5iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda5iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda5ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda5anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda6satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda6satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomSix()
ESX.TriggerServerCallback('vcd_motel:oda6check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock6 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata6 = true
}
else
SendNUIMessage{
ownerdata6 = false
}
end
end, data)
end
RegisterNUICallback("oda6iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda6iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda6ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda6anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda7satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda7satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomSeven()
ESX.TriggerServerCallback('vcd_motel:oda7check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock7 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata7 = true
}
else
SendNUIMessage{
ownerdata7 = false
}
end
end, data)
end
RegisterNUICallback("oda7iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda7iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda7ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda7anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda8satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda8satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomEight()
ESX.TriggerServerCallback('vcd_motel:oda8check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock8 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata8 = true
}
else
SendNUIMessage{
ownerdata8 = false
}
end
end, data)
end
RegisterNUICallback("oda8iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda8iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda8ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda8anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda9satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda9satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomNine()
ESX.TriggerServerCallback('vcd_motel:oda9check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock9 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata9 = true
}
else
SendNUIMessage{
ownerdata9 = false
}
end
end, data)
end
RegisterNUICallback("oda9iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda9iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda9ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda9anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda10satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda10satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomTen()
ESX.TriggerServerCallback('vcd_motel:oda10check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock10 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata10 = true
}
else
SendNUIMessage{
ownerdata10 = false
}
end
end, data)
end
RegisterNUICallback("oda10iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda10iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda10ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda10anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda11satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda11satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomEleven()
ESX.TriggerServerCallback('vcd_motel:oda11check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock11 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata11 = true
}
else
SendNUIMessage{
ownerdata11 = false
}
end
end, data)
end
RegisterNUICallback("oda11iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda11iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda11ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda11anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda12satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda12satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomTwelve()
ESX.TriggerServerCallback('vcd_motel:oda12check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock12 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata12 = true
}
else
SendNUIMessage{
ownerdata12 = false
}
end
end, data)
end
RegisterNUICallback("oda12iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda12iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda12ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda12anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda13satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda13satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomThirteen()
ESX.TriggerServerCallback('vcd_motel:oda13check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock13 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata13 = true
}
else
SendNUIMessage{
ownerdata13 = false
}
end
end, data)
end
RegisterNUICallback("oda13iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda13iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda13ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda13anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda14satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda14satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomFourteen()
ESX.TriggerServerCallback('vcd_motel:oda14check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock14 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata14 = true
}
else
SendNUIMessage{
ownerdata14 = false
}
end
end, data)
end
RegisterNUICallback("oda14iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda14iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda14ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda14anahtardegistir', function(data) end, data)
setDisplay(false)
end)
vcd_motel/client.lua yı bununla değiştirirseniz sorun çözülecektir. Teşekkür ederim.çok teşekkür ederim anahtar fixlendi fakat girer girmez menu açılıyor hala
ESX = nil
local PlayerData = {}
local display = false
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(0)
end
--setDisplay(false)
--checkAllRooms()
end)
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded', function(xPlayer)
PlayerData = xPlayer
end)
RegisterNetEvent('esx:setJob')
AddEventHandler('esx:setJob', function(job)
PlayerData.job = job
end)
local coordinations = {
vector3(324.8776, -230.289, 54.217),
}
function DrawText3Ds(x,y,z, text)
local onScreen,_x,_y=World3dToScreen2d(x,y,z)
local px,py,pz=table.unpack(GetGameplayCamCoords())
SetTextScale(0.35, 0.35)
SetTextFont(4)
SetTextProportional(1)
SetTextColour(255, 255, 255, 215)
SetTextEntry("STRING")
SetTextCentre(1)
AddTextComponentString(text)
DrawText(_x,_y)
local factor = (string.len(text)) / 370
DrawRect(_x,_y+0.0125, 0.015+ factor, 0.03, 41, 11, 41, 68)
end
Citizen.CreateThread(
function()
while true do
Citizen.Wait(3)
local ped = PlayerPedId()
for i = 1, #coordinations do
local actualcoord = coordinations[i]
local dist = #(actualcoord - GetEntityCoords(ped))
if dist <= 50.0 then
if dist <= 4.0 then
DrawText3Ds(actualcoord.x, actualcoord.y, actualcoord.z,"E basarak motel satin al")
end
DrawMarker(23, actualcoord.x, actualcoord.y, actualcoord.z - 0.97, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 0.7, 200, 10, 10, 100, 0, 0, 0, 0, 0, 0, 0)
if dist <= 2.0 then
if IsControlJustPressed(0, 38) then
checkAllRooms()
display = true
setDisplay(true)
end
end
end
end
end
end)
function setDisplay(bool)
SetNuiFocus(bool, bool)
SendNUIMessage({showUI = bool; })
end
Citizen.CreateThread(function()
while display == false do
setDisplay(false)
Citizen.Wait(0)
end
end)
RegisterNUICallback("exit", function(data)
setDisplay(false)
end)
function checkAllRooms()
checkRoomOne()
checkRoomTwo()
checkRoomThree()
checkRoomFour()
checkRoomFive()
checkRoomSix()
checkRoomSeven()
checkRoomEight()
checkRoomNine()
checkRoomTen()
checkRoomEleven()
checkRoomTwelve()
checkRoomThirteen()
checkRoomFourteen()
end
--Has to be done for every room
RegisterNUICallback("oda1satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda1satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomOne()
ESX.TriggerServerCallback('vcd_motel:oda1check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata = true
}
else
SendNUIMessage{
ownerdata = false
}
end
end, data)
end
RegisterNUICallback("oda1iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda1iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda1ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda1anahtardegistir', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
RegisterNUICallback("oda2satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda2satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomTwo()
ESX.TriggerServerCallback('vcd_motel:oda2check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock2 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata2 = true
}
else
SendNUIMessage{
ownerdata2 = false
}
end
end, data)
end
RegisterNUICallback("oda2iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda2iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda2ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda2anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda3satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda3satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomThree()
ESX.TriggerServerCallback('vcd_motel:oda3check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock3 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata3 = true
}
else
SendNUIMessage{
ownerdata3 = false
}
end
end, data)
end
RegisterNUICallback("oda3iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda3iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda3ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda3anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda4satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda4satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomFour()
ESX.TriggerServerCallback('vcd_motel:oda4check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock4 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata4 = true
}
else
SendNUIMessage{
ownerdata4 = false
}
end
end, data)
end
RegisterNUICallback("oda4iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda4iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda4ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda4anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda5satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda5satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomFive()
ESX.TriggerServerCallback('vcd_motel:oda5check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock5 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata5 = true
}
else
SendNUIMessage{
ownerdata5 = false
}
end
end, data)
end
RegisterNUICallback("oda5iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda5iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda5ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda5anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda6satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda6satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomSix()
ESX.TriggerServerCallback('vcd_motel:oda6check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock6 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata6 = true
}
else
SendNUIMessage{
ownerdata6 = false
}
end
end, data)
end
RegisterNUICallback("oda6iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda6iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda6ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda6anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda7satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda7satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomSeven()
ESX.TriggerServerCallback('vcd_motel:oda7check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock7 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata7 = true
}
else
SendNUIMessage{
ownerdata7 = false
}
end
end, data)
end
RegisterNUICallback("oda7iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda7iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda7ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda7anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda8satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda8satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomEight()
ESX.TriggerServerCallback('vcd_motel:oda8check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock8 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata8 = true
}
else
SendNUIMessage{
ownerdata8 = false
}
end
end, data)
end
RegisterNUICallback("oda8iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda8iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda8ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda8anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda9satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda9satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomNine()
ESX.TriggerServerCallback('vcd_motel:oda9check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock9 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata9 = true
}
else
SendNUIMessage{
ownerdata9 = false
}
end
end, data)
end
RegisterNUICallback("oda9iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda9iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda9ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda9anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda10satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda10satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomTen()
ESX.TriggerServerCallback('vcd_motel:oda10check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock10 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata10 = true
}
else
SendNUIMessage{
ownerdata10 = false
}
end
end, data)
end
RegisterNUICallback("oda10iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda10iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda10ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda10anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda11satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda11satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomEleven()
ESX.TriggerServerCallback('vcd_motel:oda11check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock11 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata11 = true
}
else
SendNUIMessage{
ownerdata11 = false
}
end
end, data)
end
RegisterNUICallback("oda11iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda11iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda11ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda11anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda12satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda12satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomTwelve()
ESX.TriggerServerCallback('vcd_motel:oda12check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock12 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata12 = true
}
else
SendNUIMessage{
ownerdata12 = false
}
end
end, data)
end
RegisterNUICallback("oda12iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda12iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda12ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda12anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda13satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda13satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomThirteen()
ESX.TriggerServerCallback('vcd_motel:oda13check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock13 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata13 = true
}
else
SendNUIMessage{
ownerdata13 = false
}
end
end, data)
end
RegisterNUICallback("oda13iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda13iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda13ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda13anahtardegistir', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda14satinal", function(data)
ESX.TriggerServerCallback('vcd_motel:oda14satinal', function(data) end, data)
setDisplay(false)
end)
--Has to be done for every room
function checkRoomFourteen()
ESX.TriggerServerCallback('vcd_motel:oda14check', function(data, owneriddata, playerseveridname)
print(owneriddata)
SendNUIMessage{
checkstock14 = data
}
if owneriddata == playerseveridname then
SendNUIMessage{
ownerdata14 = true
}
else
SendNUIMessage{
ownerdata14 = false
}
end
end, data)
end
RegisterNUICallback("oda14iptalet", function (data)
ESX.TriggerServerCallback('vcd_motel:oda14iptal', function(data) end, data)
setDisplay(false)
end)
RegisterNUICallback("oda14ianahtardegistir", function (data)
ESX.TriggerServerCallback('vcd_motel:oda14anahtardegistir', function(data) end, data)
setDisplay(false)
end)
Evet Sorun fixlendi fakat senle aynı altyapıyı kullanıyorum anahtarı aldıktan sonra envanter açılması aşırı yavaşlıyorvcd_motel/client.lua yı bununla değiştirirseniz sorun çözülecektir. Teşekkür ederim.
Kod:ESX = nil local PlayerData = {} local display = false Citizen.CreateThread(function() while ESX == nil do TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) Citizen.Wait(0) end --setDisplay(false) --checkAllRooms() end) RegisterNetEvent('esx:playerLoaded') AddEventHandler('esx:playerLoaded', function(xPlayer) PlayerData = xPlayer end) RegisterNetEvent('esx:setJob') AddEventHandler('esx:setJob', function(job) PlayerData.job = job end) local coordinations = { vector3(324.8776, -230.289, 54.217), } function DrawText3Ds(x,y,z, text) local onScreen,_x,_y=World3dToScreen2d(x,y,z) local px,py,pz=table.unpack(GetGameplayCamCoords()) SetTextScale(0.35, 0.35) SetTextFont(4) SetTextProportional(1) SetTextColour(255, 255, 255, 215) SetTextEntry("STRING") SetTextCentre(1) AddTextComponentString(text) DrawText(_x,_y) local factor = (string.len(text)) / 370 DrawRect(_x,_y+0.0125, 0.015+ factor, 0.03, 41, 11, 41, 68) end Citizen.CreateThread( function() while true do Citizen.Wait(3) local ped = PlayerPedId() for i = 1, #coordinations do local actualcoord = coordinations[i] local dist = #(actualcoord - GetEntityCoords(ped)) if dist <= 50.0 then if dist <= 4.0 then DrawText3Ds(actualcoord.x, actualcoord.y, actualcoord.z,"E basarak motel satin al") end DrawMarker(23, actualcoord.x, actualcoord.y, actualcoord.z - 0.97, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 0.7, 200, 10, 10, 100, 0, 0, 0, 0, 0, 0, 0) if dist <= 2.0 then if IsControlJustPressed(0, 38) then checkAllRooms() display = true setDisplay(true) end end end end end end) function setDisplay(bool) SetNuiFocus(bool, bool) SendNUIMessage({showUI = bool; }) end Citizen.CreateThread(function() while display == false do setDisplay(false) Citizen.Wait(0) end end) RegisterNUICallback("exit", function(data) setDisplay(false) end) function checkAllRooms() checkRoomOne() checkRoomTwo() checkRoomThree() checkRoomFour() checkRoomFive() checkRoomSix() checkRoomSeven() checkRoomEight() checkRoomNine() checkRoomTen() checkRoomEleven() checkRoomTwelve() checkRoomThirteen() checkRoomFourteen() end --Has to be done for every room RegisterNUICallback("oda1satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda1satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomOne() ESX.TriggerServerCallback('vcd_motel:oda1check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata = true } else SendNUIMessage{ ownerdata = false } end end, data) end RegisterNUICallback("oda1iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda1iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda1ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda1anahtardegistir', function(data) end, data) setDisplay(false) end) --Has to be done for every room RegisterNUICallback("oda2satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda2satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomTwo() ESX.TriggerServerCallback('vcd_motel:oda2check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock2 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata2 = true } else SendNUIMessage{ ownerdata2 = false } end end, data) end RegisterNUICallback("oda2iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda2iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda2ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda2anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda3satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda3satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomThree() ESX.TriggerServerCallback('vcd_motel:oda3check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock3 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata3 = true } else SendNUIMessage{ ownerdata3 = false } end end, data) end RegisterNUICallback("oda3iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda3iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda3ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda3anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda4satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda4satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomFour() ESX.TriggerServerCallback('vcd_motel:oda4check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock4 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata4 = true } else SendNUIMessage{ ownerdata4 = false } end end, data) end RegisterNUICallback("oda4iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda4iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda4ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda4anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda5satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda5satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomFive() ESX.TriggerServerCallback('vcd_motel:oda5check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock5 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata5 = true } else SendNUIMessage{ ownerdata5 = false } end end, data) end RegisterNUICallback("oda5iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda5iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda5ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda5anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda6satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda6satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomSix() ESX.TriggerServerCallback('vcd_motel:oda6check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock6 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata6 = true } else SendNUIMessage{ ownerdata6 = false } end end, data) end RegisterNUICallback("oda6iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda6iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda6ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda6anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda7satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda7satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomSeven() ESX.TriggerServerCallback('vcd_motel:oda7check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock7 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata7 = true } else SendNUIMessage{ ownerdata7 = false } end end, data) end RegisterNUICallback("oda7iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda7iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda7ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda7anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda8satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda8satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomEight() ESX.TriggerServerCallback('vcd_motel:oda8check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock8 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata8 = true } else SendNUIMessage{ ownerdata8 = false } end end, data) end RegisterNUICallback("oda8iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda8iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda8ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda8anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda9satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda9satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomNine() ESX.TriggerServerCallback('vcd_motel:oda9check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock9 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata9 = true } else SendNUIMessage{ ownerdata9 = false } end end, data) end RegisterNUICallback("oda9iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda9iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda9ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda9anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda10satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda10satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomTen() ESX.TriggerServerCallback('vcd_motel:oda10check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock10 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata10 = true } else SendNUIMessage{ ownerdata10 = false } end end, data) end RegisterNUICallback("oda10iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda10iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda10ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda10anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda11satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda11satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomEleven() ESX.TriggerServerCallback('vcd_motel:oda11check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock11 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata11 = true } else SendNUIMessage{ ownerdata11 = false } end end, data) end RegisterNUICallback("oda11iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda11iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda11ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda11anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda12satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda12satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomTwelve() ESX.TriggerServerCallback('vcd_motel:oda12check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock12 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata12 = true } else SendNUIMessage{ ownerdata12 = false } end end, data) end RegisterNUICallback("oda12iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda12iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda12ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda12anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda13satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda13satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomThirteen() ESX.TriggerServerCallback('vcd_motel:oda13check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock13 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata13 = true } else SendNUIMessage{ ownerdata13 = false } end end, data) end RegisterNUICallback("oda13iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda13iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda13ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda13anahtardegistir', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda14satinal", function(data) ESX.TriggerServerCallback('vcd_motel:oda14satinal', function(data) end, data) setDisplay(false) end) --Has to be done for every room function checkRoomFourteen() ESX.TriggerServerCallback('vcd_motel:oda14check', function(data, owneriddata, playerseveridname) print(owneriddata) SendNUIMessage{ checkstock14 = data } if owneriddata == playerseveridname then SendNUIMessage{ ownerdata14 = true } else SendNUIMessage{ ownerdata14 = false } end end, data) end RegisterNUICallback("oda14iptalet", function (data) ESX.TriggerServerCallback('vcd_motel:oda14iptal', function(data) end, data) setDisplay(false) end) RegisterNUICallback("oda14ianahtardegistir", function (data) ESX.TriggerServerCallback('vcd_motel:oda14anahtardegistir', function(data) end, data) setDisplay(false) end)
Sıkıntı olmaz.kurulumu tekrardan yapsam sıkıntı olmaz değilmi
sorunsuz çalıştırdım fixsi kurunca anvanter yavaşlıyor onu kaldırdım envanter sorunsuz acılıyor
Citizen.CreateThread(function()
while display == false do
setDisplay(false)
Citizen.Wait(0)
end
end)
Forumdan daha fazla yararlanmak için giriş yapın veya kayıt olun!