预计FiveM 'then'接近'='



你好,当我启动服务器并想开始做非法工作时,这会显示

brx-drugs/client/client.lua:50: 'then' expected near '='

这里也是一段代码

Citizen.CreateThread(function()
while true do
Citizen.Wait(1000)
local pedCoords = GetEntityCoords(GetPlayerPed(-1))
local dst = #(Config.StartLocation - pedCoords)
if dst < 200 and jobSpawned = false then
TriggerEvent ('brx-drugs:spawnJobPed',Config.StartLocation, 217.980
jobSpawned = true
refreshJobPed = true
end
if dst>= 201 then
if DoesEntityExist(jobPed) then
DeletePed(jobPed)
end
JobSpawned = false
end
end
end)

我不认为问题是与配置文件,我不能绕过它,因为我是一个新的开发

最新更新