你好,当我启动服务器并想开始做非法工作时,这会显示
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)
我不认为问题是与配置文件,我不能绕过它,因为我是一个新的开发
缺少'='
相关内容
- 如何创建一个If then do语句,只运行某个部门的宏?
- 如何在javascript中使用多个if then else语句创建业务逻辑
- 如何使用Excel公式将价格四舍五入到最接近的0.95 ?
- If then Python中带有日期的语句
- when-then-Return函数不起作用
- 收到"错误:语法错误在或接近..."在 Postgresql 插入查询中
- 始终转到与目标歌曲的 BPM 兼容的最接近的数字
- 在两个向量中寻找最接近的值
- Typescript从接近当前时间的数组时隙中获取两个时隙
- PySpark 数据帧:查找最接近整数列值的数组列索引
- 如何用钩子中的.then模拟函数
- 如何在 Java 中将双精度四舍五入到最接近的奇数?
- 预计FiveM 'then'接近'='
- 条件表达式中的语法错误,在 Ubuntu 终端中接近"then"
- 'then'期望接近','但我已经和Lua一起放置了
- CASE WHEN 错误 - 在需要条件的上下文中指定的非布尔类型的表达式,接近'THEN'
- .lua错误'then'预期接近'else'
- (eval):1 个接近 'then' 的解析错误
- IF 语句中接近 'THEN' 的语法不正确
- 如何修复[接近"then":(vcom-1576)预期==或'+'或'-'或'&']错误?
最新更新
- 我如何得到一个节点超时的内部id使用符号没有硬编码查找索引?
- spring引导应用程序读取另一个jar的应用程序配置值吗?
- 如何在main.js中导入javascript库以在整个vue应用程序中获得全局可用性?
- 使段落出现,并使其在点击显示下一个段落时消失
- GROUP_CONCAT(DISTINCT xxx)将连接值的顺序颠倒
- r语言 - 循环遍历列表的列表
- 如何使用Pandas数据框架将R代码语法转换为Python语法?
- 当我运行服务器我得到这个错误:Django 405错误
- 如何将列表中的每个数字与另一个列表中的每个数字相乘
- 用其他字典中的值替换字典中值列表中的元素
- super() 不能递增父类的类变量,但它会更新父类的类字典
- Java中的冗余赋值vs赋值前检查
- 输入数据量变化;需要的建议
- 根据键合并两个数组,并使用mongo聚合添加新字段
- 显示头表,从数组的子列- Angular
- 如何上传AppendBlob/一个大于4mb限制的文件到Azure存储/Blob在Java?
- client_loop: send disconnect:长时间运行jenkins管道时管道破裂问题
- 使用 python 跟踪游戏不断更新的日志文件的最佳方法是什么?
- Gsutil 错误"Caught socket error, retrying: timed out "
- 如何在<h3>相同的高度制作
- #address 单元的 DTC 编译错误 = <2> 大小写
- 遵循Flutter web的重定向url
- 从数据库中获取值作为表
- 我们可以通过在一个应用程序中拥有更多(比用户机器上其他运行的应用程序)线程/进程来窃取更多的CPU时间/资源吗?<
- 如何在vue js中基于数组唯一id的选择选项中显示数据
- React中的 useRef语法
- 如何在react native图像滑动框中更改图像大小
- 绘制函数CustomPaint和PictureRecorder以不同的大小工作
- docker 无法连接到 docker 守护程序,但已创建套接字
- 无法解析Java程序中的@param注释
热门标签:
javascript python java c# php android html jquery c++ css ios sql mysql arrays asp.net json python-3.x ruby-on-rails .net sql-server django objective-c excel regex ruby linux ajax iphone xml vba spring asp.net-mvc database wordpress string postgresql wpf windows xcode bash git oracle list vb.net multithreading eclipse algorithm macos powershell visual-studio image forms numpy scala function api selenium