18.01.2015, 02:39
Looks alright, but maybe make this as an include, and make functions such as BlockGarage(Float: x, Float: y, Float: z, Float: rx = 0.0, Float: ry = 0.0, Float: rz = 0.0).
Or atleast just something like this:
And maybe even
Or atleast just something like this:
pawn Код:
BlockGarage(garageid=GARAGE_TYPE_ALL, bool: block);
pawn Код:
#define GARAGE_TYPE_ALL 1
#define GARAGE_TYPE_PNS 2
#define GARAGE_TYPE_BOMB 3
#define GARAGE_TYPE_PLAYER 4
#define GARAGE_TYPE_MODSHOP 5
pawn Код:
OnPlayerAttemptEnterGarage(playerid, garageid);