07.02.2017, 09:59
Includes are not saved in the gamemodes folder, they are saved in the "pawno\includes" folder, where all the other samp includes are located.
You can create a directory there, in which you save your includes.
These files are located inside "pawno\includes\MyGamemode".
Also, includes have the extension ".inc", not ".pwn".
You can create a directory there, in which you save your includes.
PHP Code:
#include <MyGamemode\Defines.inc> // Setup all #define statements and some other stuff
#include <MyGamemode\Declarations.inc> // Holds all enums and related arrays
#include <MyGamemode\PlayerFunctions.inc> // Holds all player functions
#include <MyGamemode\VehicleFunctions.inc> // Holds all vehicle functions
#include <MyGamemode\SupportFunctions.inc> // Holds all support function
#include <MyGamemode\Housing.inc> // Holds the entire housing system
#include <MyGamemode\Speedometer.inc> // Holds the Speedometer functions
#include <MyGamemode\OnGameModeInitExit.inc> // Holds OnGameModeInit and OnGameModeExit
#include <MyGamemode\Commands.inc> // Holds all commands
#include <MyGamemode\GlobalTimers.inc> // Holds all global timers
#include <MyGamemode\OnPlayerConnectDisconnect.inc> // Holds all functions related to logging in players and disconnecting them
#include <MyGamemode\OnDialogResponse.inc> // Holds the OnDialogResponse callback
#include <MyGamemode\TemporaryCommands.inc> // Holds all temporary commands
Also, includes have the extension ".inc", not ".pwn".

