sfcnr/gamemodes/irresistible/cnr/classes.pwn

41 lines
1.1 KiB
Plaintext
Raw Normal View History

/*
* Irresistible Gaming (c) 2018
* Developed by Lorenc Pekaj
* Module:
* Purpose:
*/
/* ** Includes ** */
#include < YSI\y_hooks >
/* ** Functions ** */
#define GetPlayerClass(%0) (p_Class[%0])
/* ** Definitions ** */
#define CLASS_CIVILIAN ( 0 )
#define CLASS_POLICE ( 1 )
#define CLASS_FIREMAN ( 2 )
#define CLASS_MEDIC ( 3 )
2018-09-16 06:49:26 +00:00
/* ** Constants ** */
const
Float: default_X = -2242.152,
Float: default_Y = 759.0619,
Float: default_Z = 30.0,
Float: default_Angle = 0.0
;
/* ** Variables ** */
stock const CLASS_NAMES [ ] [ ] = { "Civilian", "Police", "FBI", "Army", "CIA", "Paramedic", "Fireman" };
stock const CLASS_COLORS [ ] = { 0xC0C0C0FF, 0x3E7EFFFF, 0x0035FFFF, 0x954BFFFF, 0x191970FF, 0x4DFF4DFF, 0xA83434FF };
stock CLASS_CIVILIAN_RANGE [ 2 ];
stock CLASS_POLICE_RANGE [ 2 ];
stock CLASS_FBI_RANGE [ 2 ];
stock CLASS_CIA_RANGE [ 2 ];
stock CLASS_FIRE_RANGE [ 2 ];
stock CLASS_MEDIC_RANGE [ 2 ];
stock CLASS_ARMY_RANGE;
new p_Class [ MAX_PLAYERS ];