翻译
['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'
},
这段代码看起来是用来处理Garage(车库)相关的消息提示。其中包括了一些成功、错误和信息类别的消息。
根据代码内容推测,这段代码应该是放在服务器的脚本文件(server.lua)中。因为这些是与车库业务相关的消息提示,需要在服务器端进行处理并向客户端发送相应的消息提示。
如果你需要在FiveM服务器中添加这段代码并确保其正常运行,可以将它放在server.lua文件中,并在相应的事件触发时发送这些消息给客户端玩家。
页:
[1]