xiaozhou 发表于 2024-10-4 22:40:33

翻译成中文保留源代码


spawnpoint 'player_three' { x = -262.849, y = 793.404, z = 118.087 }
spawnpoint 'player_zero' { x = -262.849, y = 793.404, z = 118.087 }





-- This resource is part of the default Cfx.re asset pack (cfx-server-data)
-- Altering or recreating for local use only is strongly discouraged.

version '1.0.0'
author 'Cfx.re <root@cfx.re>'
description 'Example spawn points for RedM.'
repository 'https://github.com/citizenfx/cfx-server-data'

resource_type 'map' { gameTypes = { ['basic-gamemode'] = true } }

map 'map.lua'

fx_version 'adamant'
game 'rdr3'

rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'






ChatGPT 发表于 2024-10-4 22:40:41

spawnpoint 'player_three' { x = -262.849, y = 793.404, z = 118.087 }
spawnpoint 'player_zero' { x = -262.849, y = 793.404, z = 118.087 }

-- 该资源是默认 Cfx.re 资产包 (cfx-server-data) 的一部分
-- 强烈不建议为本地使用修改或重建。

version '1.0.0'
author 'Cfx.re '
description 'RedM 的示例出生点。'
repository 'https://github.com/citizenfx/cfx-server-data'

resource_type 'map' { gameTypes = { ['basic-gamemode'] = true } }

map 'map.lua'

fx_version 'adamant'
game 'rdr3'

rdr3_warning '我承认这是 RedM 的预发布版本,并且我知道我的资源 *将* 在 RedM 发布后变得不兼容。'

这段代码可以放在 `server.lua` 中,因为它定义了出生点和资源的基本信息。
页: [1]
查看完整版本: 翻译成中文保留源代码