Updated
This commit is contained in:
parent
a66d04d26f
commit
ff1be08b8a
|
@ -155,11 +155,11 @@ native ns_get_deaths(idPlayer);
|
||||||
/* Sets a player's death count. */
|
/* Sets a player's death count. */
|
||||||
native ns_set_deaths(idPlayer,numdeaths);
|
native ns_set_deaths(idPlayer,numdeaths);
|
||||||
|
|
||||||
/* Gets a player's icon value (from the scoreboard) is a bitmask. Use enum "icons" for values. Returns -1 for unauthed */
|
/* Gets the index of the owner of a structure. -1 for no owner. */
|
||||||
native ns_get_icon(idPlayer);
|
native ns_get_struct_owner(idStructsure);
|
||||||
|
|
||||||
/* Sets a player's icon value. */
|
/* Sets the index of the owner of a structure. -1 for no owner. */
|
||||||
native ns_set_icon(idPlayer,iconvalue);
|
native ns_set_struct_owner(idStructure,indexOwner);
|
||||||
|
|
||||||
/* Gets the trait type tied to the hive. Look at the hivetrait enum for the values. */
|
/* Gets the trait type tied to the hive. Look at the hivetrait enum for the values. */
|
||||||
native ns_get_hive_trait(idHive);
|
native ns_get_hive_trait(idHive);
|
||||||
|
|
|
@ -11,8 +11,7 @@
|
||||||
#define NS_CONST_INC
|
#define NS_CONST_INC
|
||||||
|
|
||||||
// entity pev->iuser4 fields
|
// entity pev->iuser4 fields
|
||||||
enum masks
|
enum {
|
||||||
{
|
|
||||||
MASK_NONE = 0,
|
MASK_NONE = 0,
|
||||||
MASK_SIGHTED = 1,
|
MASK_SIGHTED = 1,
|
||||||
MASK_DETECTED = 2,
|
MASK_DETECTED = 2,
|
||||||
|
@ -67,8 +66,7 @@ enum masks
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
enum classes
|
enum {
|
||||||
{
|
|
||||||
CLASS_UNKNOWN = 0,
|
CLASS_UNKNOWN = 0,
|
||||||
CLASS_SKULK,
|
CLASS_SKULK,
|
||||||
CLASS_GORGE,
|
CLASS_GORGE,
|
||||||
|
@ -84,8 +82,7 @@ enum classes
|
||||||
CLASS_NOTEAM
|
CLASS_NOTEAM
|
||||||
}
|
}
|
||||||
|
|
||||||
enum weapons
|
enum {
|
||||||
{
|
|
||||||
WEAPON_NONE = 0,
|
WEAPON_NONE = 0,
|
||||||
WEAPON_CLAWS,
|
WEAPON_CLAWS,
|
||||||
WEAPON_SPIT,
|
WEAPON_SPIT,
|
||||||
|
@ -119,20 +116,8 @@ enum weapons
|
||||||
WEAPON_DEVOUR,
|
WEAPON_DEVOUR,
|
||||||
WEAPON_MAX
|
WEAPON_MAX
|
||||||
}
|
}
|
||||||
enum playerIcons {
|
|
||||||
ICON_DEVELOPER = 1,
|
|
||||||
ICON_GUIDE = 2,
|
|
||||||
ICON_SERVEROP = 4,
|
|
||||||
ICON_PLAYTESTER = 8,
|
|
||||||
ICON_CONTRIBUTOR = 16,
|
|
||||||
ICON_CHEATINGDEATH = 32,
|
|
||||||
ICON_VETERAN = 64,
|
|
||||||
ICON_BETASERVEROP = 128, // Using this messes with ICON_SERVEROPs
|
|
||||||
ICON_CUSTOM = 512
|
|
||||||
|
|
||||||
}
|
enum {
|
||||||
enum hivetraits
|
|
||||||
{
|
|
||||||
HIVETRAIT_NONE = 0,
|
HIVETRAIT_NONE = 0,
|
||||||
HIVETRAIT_DC = 92,
|
HIVETRAIT_DC = 92,
|
||||||
HIVETRAIT_SC = 93,
|
HIVETRAIT_SC = 93,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user