mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2026-05-24 15:30:09 +08:00
30 lines
929 B
Lua
30 lines
929 B
Lua
-- This resource is part of the default FiveM/RedM resource pack (aka cfx-server-data)
|
|
-- Modifying or rewriting this resource for local use only is strongly discouraged.
|
|
|
|
version '1.0.0'
|
|
author 'The CitizenFX Collective'
|
|
description 'Handles map changes, game types, and compatability between gametypes and maps.'
|
|
repository 'https://github.com/citizenfx/cfx-server-data'
|
|
|
|
client_scripts {
|
|
"mapmanager_shared.lua",
|
|
"mapmanager_client.lua"
|
|
}
|
|
|
|
server_scripts {
|
|
"mapmanager_shared.lua",
|
|
"mapmanager_server.lua"
|
|
}
|
|
|
|
fx_version 'adamant'
|
|
games { 'gta5', 'rdr3' }
|
|
|
|
server_export "getCurrentGameType"
|
|
server_export "getCurrentMap"
|
|
server_export "changeGameType"
|
|
server_export "changeMap"
|
|
server_export "doesMapSupportGameType"
|
|
server_export "getMaps"
|
|
server_export "roundEnded"
|
|
|
|
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' |