/client

Primary LanguageC++MIT LicenseMIT

Introduction:

All of code belongs to Bas Timmer/NTAuthority et al., see license:

Copyright (c) 2014 Bas Timmer/NTAuthority et al.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

How to compile FiveM core?

Install VS and needed components for compiling project:
Open CMD and type:
cd projectfoldername
"%VS140COMNTOOLS%....\vc\vcvarsall.bat"
gclient config --unmanaged https://github.com/multifive/client.git
gclient sync
#  now it will setup enviroment via premake5
#  download premake5 from here - http://premake.github.io/download.html#v5 and
#  place it into the project directory
cd client
git checkout portability-five
gclient sync
..\build\premake\bin\release\premake5 --game=five vs2015

Now you can open client\build\five\CitizenMP.sln with Visual Studio 2015 It will take a while to index. Try to build the solution!

How to start FiveM?

Open folder client\bin\five\debug and put there files from that repository and then launch FiveM.exe.