Professional Documents
Culture Documents
Gunmenu
Gunmenu
*/
#include "modules\header\this_core.txt"
#define MAX_GUNMENU_GUNS 9
// Gunmenu styles
#define GUNMENU_STYLE_DIALOG 0
#define GUNMENU_STYLE_OBJECT 1
enum GunmenuData_STRUCT
{
GunModel, // model id
GunID, // weapon id
GunPlayerObject[MAX_PLAYERS], // player object id
GunFlamePlayerObject[MAX_PLAYERS], // player flame object
TimesSelected[MAX_TEAMS], // how many times it is selected for each team
bool:HasGun[MAX_PLAYERS], // whether a player has this gun or not
GunMovingRoute[MAX_PLAYERS], // whether it's going down or up for each player
GunLimit, // how many times it can be selected (for each team)
GunAmmo, // ammo when given
GunFreezePlane // a timer to keep planes frozen
}
new
Iterator:PlayerGunObjects[MAX_PLAYERS]<MAX_PLAYERS>;
new
MeleeWeaponsArray_ID[6] = {1, 8, 10, 16, 17, 46},
MeleeWeaponsArray_AMMO[6] = {1, 1, 1, 3, 3, 1};