搜索
开启左侧

翻译

[复制链接]
猪猪侠 发表于 2024-5-31 12:36:20 | 显示全部楼层 |阅读模式
['garage_created'] = {
                title = 'Business',
                text = 'You have created a garage',
                time = 5000,
                type = 'success'
        },
        ['garage_purchased'] = {
                title = 'Business',
                text = 'You have purchased the garage',
                time = 5000,
                type = 'success'
        },
        ['garage_already_owned'] = {
                title = 'Business',
                text = 'You already own this garage',
                time = 5000,
                type = 'error'
        },
        ['inside_vehicle'] = {
                title = 'Garage',
                text = 'You can\'t access the garage inside a vehicle',
                time = 5000,
                type = 'error'
        },
        ['vehicle_not_at_garage'] = {
                title = 'Vehicle',
                text = "Vehicle is not stored at this garage",
                time = 5000,
                type = 'error'
        },
        ['vehicle_isnt_stored'] = {
                title = 'Garage',
                text = 'The vehicle needs to be stored in order to be taken out',
                time = 5000,
                type = 'info'
        },
        ['vehicle_is_impounded'] = {
                title = 'Garage',
                text = 'This vehicle is currently impounded',
                time = 5000,
                type = 'info'
        },
        ['vehicle_is_stolen'] = {
                title = 'Garage',
                text = 'This vehicle is currently stolen',
                time = 5000,
                type = 'info'
        },
        ['vehicle_stored'] = {
                title = 'Garage',
                text = 'The vehicle has been successfully stored',
                time = 5000,
                type = 'success'
        },
        ['vehicle_repaired'] = {
                title = 'Garage',
                text = 'The vehicle has been successfully repaired',
                time = 5000,
                type = 'success'
        },
        ['not_the_owner'] = {
                title = 'Garage',
                text = 'You are not the owner of this vehicle',
                time = 5000,
                type = 'error'
        },
        ['vehicle_locked'] = {
                title = 'Vehicle',
                text = 'Vehicle has been locked',
                time = 5000,
                type = 'error'
        },

回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-5-31 12:36:27 | 显示全部楼层
这段代码看起来是用来处理Garage(车库)相关的消息提示。其中包括了一些成功、错误和信息类别的消息。

根据代码内容推测,这段代码应该是放在服务器的脚本文件(server.lua)中。因为这些是与车库业务相关的消息提示,需要在服务器端进行处理并向客户端发送相应的消息提示。

如果你需要在FiveM服务器中添加这段代码并确保其正常运行,可以将它放在server.lua文件中,并在相应的事件触发时发送这些消息给客户端玩家。
回复

使用道具 举报

文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|FiveM技术教程分享 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2025-6-8 04:20 , Processed in 0.146077 second(s), 11 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表