/**************
** SpaceDude **
**************/

#define IN_ATTACK	(1 << 0)
#define IN_JUMP		(1 << 1)
#define IN_DUCK		(1 << 2)
#define IN_FORWARD	(1 << 3)
#define IN_BACK		(1 << 4)
#define IN_USE		(1 << 5)
#define IN_CANCEL	(1 << 6)
#define IN_LEFT		(1 << 7)
#define IN_RIGHT	(1 << 8)
#define IN_MOVELEFT	(1 << 9)
#define IN_MOVERIGHT 	(1 << 10)
#define IN_ATTACK2	(1 << 11)
#define IN_RUN      	(1 << 12)
#define IN_RELOAD	(1 << 13)
#define IN_ALT1		(1 << 14)
#define IN_SCORE	(1 << 15)

/*
* Cut and paste these into your plugin if you want to use them
* if you don't use them you get warnings so thats why i've commented it out
new const HEGRENADE_MODEL[] = "models/w_hegrenade.mdl"
new const FLASHBANG_MODEL[] = "models/w_flashbang.mdl"
new const SMOKEGRENADE_MODEL[] = "models/w_smokegrenade.mdl"
*/

/* Gets the velocity of a player */
native get_entity_velocity(id, velocity[3]);

/* Sets the velocity of a player */
native set_entity_velocity(id, velocity[3]);

/* Gets the velocity of a player */
native get_entity_origin(id, origin[3]);

/* Sets the velocity of a player */
native set_entity_origin(id, origin[3]);

/* Gets the velocity of a player */
native get_user_velocity(id, velocity[3]);

/* Sets the velocity of a player */
native set_user_velocity(id, velocity[3]);

/* Gets the button(s) a player is pressing */
native get_user_button(id);

/* Get the index of the grenade belonging to id
* model[] returns the model of the grenade
* specify the grenadeid to start searching from
* or leave it at 0 to search from the start
* returns grenade id */

native get_grenade_id(id, model[], len, grenadeid = 0);

/*******
** EJ **
*******/

enum { 
   classname = 0, 
   target, 
   targetname 
} 

/* find an entity ID from start_from_ent id (use 0 to start from
* the beginning, category is either "classname", "target" or
* "targetname", value is the name you are searching for */
native find_entity(start_from_ent, catagory,value[]); 

/* find the number of entities in the game */
native current_num_ents(); 

/***************
** JustinHoMi **
***************/

/* Gives player silent footsteps.
* if set=0 it will return footsteps to normal */
native set_user_footsteps(id, set=1);


/*******************
** <yournamehere> **
*******************/

// your natives here
