18.02.2012, 15:00
(
Последний раз редактировалось Hoborific; 18.02.2012 в 16:15.
)
So lately my gamemode has been reaching what I believe to be "too much" for one open document and I have decided to start moving code into includes, as I assume it is pretty much text replacement. for example
Vehicles.inc contains
and I just call CreateVehicles(); under OnGameModeInit, I have all my stocks inside Stocks.inc and so forth.
Personally I am just sick of not being able to have tabs or work as if I had classes, feedback?
pawn Код:
#include <a_samp>
#include <sscanf2>
#include <zcmd>
#include <dini>
#include <GAMEMODE/AdminCommands>
#include <GAMEMODE/StockSystem>
#include <GAMEMODE/Vehicles>
#include <GAMEMODE/Stocks>
#include <GAMEMODE/HUD>
pawn Код:
forward CreateVehicles();
public CreateVehicles()
{
// all teh vehicles here
}
Personally I am just sick of not being able to have tabs or work as if I had classes, feedback?