Raised This Month: $12 Target: $400
 3% 

[HELP] Help fixing this decompiled plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazySkull2k
Member
Join Date: Feb 2017
Old 05-31-2019 , 04:28   [HELP] Help fixing this decompiled plugin
Reply With Quote #1

Hi, I've decompiled a plugin of which I can't get the source. I tried to compile it, fixed some errors, but some of them just give me headaches. I was wondering if anyone could help me fix some of them, I can even pay you if necessary.

Here are the errors

Quote:
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\include\core.i nc(296) : warning 209: function "__ext_core_SetNTVOptional" should return a value
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\include\halfli fe.inc(381) : warning 209: function "PrintToChatAll" should return a value
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 445) : warning 213: tag mismatch
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 449) : warning 213: tag mismatch
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 459) : error 021: symbol already defined: "__ext_core_SetNTVOptional"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 582) : warning 213: tag mismatch
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 459) : error 180: function return type differs from prototype. expected 'void', but got 'int'
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 585) : error 181: function argument named 'str1' differs from prototype
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 585) : error 021: symbol already defined: "StrEqual"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 590) : error 021: symbol already defined: "CharToUpper"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 599) : error 181: function argument named 'source' differs from prototype
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 599) : error 021: symbol already defined: "StrCat"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 609) : error 181: function argument named 'text' differs from prototype
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 609) : error 021: symbol already defined: "ExplodeString"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 614) : warning 203: symbol is never used: "var1"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 637) : error 181: function argument named 'format' differs from prototype
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 637) : error 021: symbol already defined: "PrintToChatAll"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 651) : warning 213: tag mismatch
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 637) : error 180: function return type differs from prototype. expected 'void', but got 'int'
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 654) : error 021: symbol already defined: "CanTestFeatures"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 710) : error 035: argument type mismatch (argument 3)
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 719) : warning 239: 'void' is an illegal tag; use void as a type
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 733) : warning 239: 'void' is an illegal tag; use void as a type
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 736) : warning 239: 'void' is an illegal tag; use void as a type
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 750) : warning 239: 'void' is an illegal tag; use void as a type
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 753) : warning 239: 'void' is an illegal tag; use void as a type
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 760) : warning 213: tag mismatch
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 766) : warning 203: symbol is never used: "var1"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 766 -- 1773) : warning 239: 'void' is an illegal tag; use void as a type
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 776) : warning 239: 'void' is an illegal tag; use void as a type
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 780) : warning 239: 'void' is an illegal tag; use void as a type
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 792) : warning 239: 'void' is an illegal tag; use void as a type
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 800) : warning 239: 'void' is an illegal tag; use void as a type
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 810) : warning 203: symbol is never used: "var1"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 832) : warning 203: symbol is never used: "var3"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 825) : warning 203: symbol is never used: "var1"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 866) : error 001: expected token: ",", but found "-identifier-"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 866) : error 017: undefined symbol "E"
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 866) : error 029: invalid expression, assumed zero
// D:\sourcemod-1.9.0-git6281-windows (3)\addons\sourcemod\scripting\OGX_Skins.sp(1 866) : fatal error 190: too many error messages on one line
//
// Compilation aborted.
// 18 Errors.
And here is the code

Code:
public Plugin:myinfo =
{
	name = "OGX Skins",
	author = "CrazySkull",
	description = "Ultra Mega Skins Plugin",
	version = SOURCEMOD_VERSION,
	url = "indungi.ro"
};

#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <clientprefs>
#include <cstrike>

new String:g_GalilARSkins[40][] =
{
	"Default",
	"Akoben",
	"Signal",
	"Sugar Rush",
	"Crimson Tsunami",
	"Black Sand",
	"Firefight",
	"Stone Cold",
	"Aqua Terrace",
	"Blue Titanium",
	"Cerberus",
	"Chatterbox",
	"Eco",
	"Hunting Blind",
	"Orange DDPAT",
	"Rocket Pop",
	"Sage Spray",
	"Shattered",
	"Tuxedo",
	"Urban Rubble",
	"Winter Forest",
	"Candy Apple",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_GalilARSkinIds[40] =
{
	0, 842, 807, 661, 647, 629, 546, 494, 460, 216, 379, 398, 428, 241, 83, 478, 119, 192, 297, 237, 235, 3, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_AwpSkins[44][] =
{
	"Default",
	"Atheris",
	"Neo-Noir",
	"PAW",
	"Mortis",
	"Oni Taiji",
	"Fever Dream",
	"Graphite",
	"Phobos",
	"Elite Build",
	"Dragon Lore",
	"BOOM",
	"Asiimov",
	"Medusa",
	"Snake Camo",
	"Electric Hive",
	"Redline",
	"Man-o'-war",
	"Pit Viper",
	"Worm God",
	"Corticera",
	"Pink DDPAT",
	"Sun in Leo",
	"Hyper Beast",
	"Lightning Strike",
	"Candy Apple",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_AwpSkinIds[44] =
{
	0, 838, 803, 718, 691, 662, 640, 212, 584, 525, 344, 174, 279, 446, 30, 227, 259, 395, 251, 424, 181, 84, 451, 475, 51, 3, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_M4A4Skins[44][] =
{
	"Default",
	"Emperor",
	"Magnesium",
	"Neo-Noir",
	"Hellfire",
	"Buzz Kill",
	"Desolate Space",
	"The Battlestar",
	"Royal Paladin",
	"Howl",
	"Jungle Tiger",
	"Tornado",
	"Asiimov",
	"Zirka",
	"X-Ray",
	"Bullet Rain",
	"龍王 (Dragon King)",
	"Griffin",
	"Urban DDPAT",
	"Dragon King",
	"Evil Daimyo",
	"Modern Hunter",
	"Poseidon",
	"Daybreak",
	"Desert-Strike",
	"Candy Apple",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_M4A4SkinIds[44] =
{
	0, 844, 811, 695, 664, 632, 588, 533, 512, 309, 16, 206, 255, 187, 215, 155, 400, 384, 17, 400, 480, 164, 449, 471, 336, 3, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_M4A1Skins[39][] =
{
	"Default",
	"Nightmare",
	"Leaded Glass",
	"Briefing",
	"Decimator",
	"Flashback",
	"Mecha Industries",
	"Chantico's Fire",
	"Candy Apple",
	"Golden Coil",
	"Knight",
	"Master Piece",
	"Boreal Forest",
	"Hyper Beast",
	"Hot Rod (M4A1-S)",
	"Nitro",
	"Cyrex",
	"Icarus Fell",
	"Atomic Alloy",
	"Dark Water",
	"Bright Water",
	"Basilisk",
	"Blood Tiger",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Night",
	"Forest DDPAT",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_M4A1SkinIds[39] =
{
	0, 714, 681, 663, 644, 631, 587, 548, 3, 497, 326, 321, 77, 430, 445, 254, 360, 440, 301, 60, 189, 383, 217, 294, 44, 98, 38, 40, 5, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_CZ75AutoSkins[37][] =
{
	"Default",
	"Eco",
	"Tacticat",
	"Xiangliu",
	"Polymer",
	"Imprint",
	"Red Astor",
	"Twist",
	"Tigris",
	"Hexane",
	"Tuxedo",
	"Chalice",
	"Victoria",
	"Emerald",
	"Emerald Dragon",
	"Emerald Pinstripe",
	"The Fuschia Is Now",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Poison Dart",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_CZ75AutoSkinIds[37] =
{
	0, 709, 687, 643, 622, 602, 543, 334, 350, 218, 297, 325, 270, 453, 182, 300, 269, 12, 232, 315, 294, 3, 44, 98, 38, 33, 40, 5, 77, 409, 32, 246, 42, 413, 59, 72, 414
};
new String:g_RevolverSkins[27][] =
{
	"Default",
	"Skull Crusher",
	"Survivalist",
	"Grip",
	"Llama Cannon",
	"Reboot",
	"Fade (Revolver)",
	"Candy Apple",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Tigris",
	"Twist",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_RevolverSkinIds[27] =
{
	0, 843, 721, 701, 683, 595, 522, 3, 12, 232, 350, 334, 294, 44, 98, 33, 40, 5, 77, 409, 32, 246, 42, 413, 59, 72, 414
};
new String:g_DEagleSkins[41][] =
{
	"Default",
	"Light Rail",
	"Mecha Industries",
	"Code Red",
	"Oxide Blaze",
	"Directive",
	"Kumicho Dragon",
	"Corinthian",
	"Blaze",
	"Cobalt Disruption",
	"Conspiracy",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Golden Koi",
	"Hand Cannon",
	"Heirloom",
	"Hypnotic",
	"Meteorite",
	"Midnight Storm",
	"Mudder",
	"Naga",
	"Night",
	"Pilot",
	"Sunset Storm (Phase #1)",
	"Sunset Storm (Phase #2)",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_DEagleSkinIds[41] =
{
	0, 841, 805, 711, 645, 603, 527, 509, 37, 231, 351, 12, 232, 185, 328, 273, 61, 296, 468, 90, 397, 40, 347, 469, 470, 294, 3, 44, 98, 38, 33, 5, 77, 409, 32, 246, 42, 413, 59, 72, 414
};
new String:g_G3SG1Skins[32][] =
{
	"Default",
	"Scavenger",
	"High Seas",
	"Hunter",
	"Stinger",
	"Ventilator",
	"Orange Crash",
	"Executioner",
	"Flux Purple",
	"Murky",
	"Demeter",
	"Chronos",
	"Green Apple",
	"Azure Zebra",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_G3SG1SkinIds[32] =
{
	0, 806, 712, 677, 628, 606, 545, 511, 493, 382, 195, 438, 294, 229, 3, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_Scar20Skins[31][] =
{
	"Default",
	"Jungle Slipstream",
	"Blueprint",
	"Powercore",
	"Bloodsport",
	"Green Marine",
	"Grotto",
	"Cardiac",
	"Cyrex",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Splash Jam",
	"Emerald",
	"Carbon Fiber",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_Scar20SkinIds[31] =
{
	0, 685, 642, 612, 597, 502, 406, 391, 312, 12, 232, 165, 196, 70, 294, 3, 44, 98, 38, 33, 40, 5, 77, 409, 32, 246, 42, 413, 59, 72, 414
};
new String:g_SawedOffSkins[37][] =
{
	"Default",
	"Black Sand",
	"Devourer",
	"Morris",
	"Zander",
	"Wasteland Princess",
	"Limelight",
	"Fubar",
	"Orange DDPAT",
	"First Class",
	"Full Stop",
	"The Kraken",
	"Irradiated Alert",
	"Mosaico",
	"Copper",
	"Highwayman",
	"Rust Coat",
	"Serenity",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_SawedOffSkinIds[37] =
{
	0, 814, 720, 673, 655, 638, 596, 552, 83, 345, 250, 256, 171, 204, 41, 390, 323, 405, 294, 3, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_NegevSkins[30][] =
{
	"Default",
	"Lionfish",
	"Dazzle",
	"Desert-Strike",
	"Impact",
	"Loudmouth",
	"Nuclear Waste",
	"Titan Storm",
	"Terrain",
	"Bratatat",
	"Man-o'-war",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_NegevSkinIds[30] =
{
	0, 698, 610, 355, 514, 483, 369, 355, 285, 317, 432, 294, 3, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_SSG08Skins[32][] =
{
	"Default",
	"Death's Head",
	"Mayan Dreams",
	"Tropical Storm",
	"Acid Fade",
	"Dragonfire",
	"Abyss",
	"Ghost Crusader",
	"Necropos",
	"Big Iron",
	"Green Apple",
	"Blood in the Water",
	"Candy Apple",
	"Slashed",
	"Detour",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_SSG08SkinIds[32] =
{
	0, 670, 200, 233, 253, 624, 361, 554, 538, 503, 294, 222, 3, 304, 319, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_SG553Skins[33][] =
{
	"Default",
	"Danger Close",
	"Aloha",
	"Phantom",
	"Triarch",
	"Fallout Warning",
	"Damascus Steel",
	"Aerial",
	"Atlas",
	"Tiger Moth",
	"Pulse",
	"Ultraviolet",
	"Cyrex",
	"Gator Mesh",
	"Bulldozer",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_SG553SkinIds[33] =
{
	0, 815, 702, 686, 613, 169, 247, 598, 553, 519, 287, 98, 487, 243, 39, 294, 3, 44, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_NovaSkins[37][] =
{
	"Default",
	"Wood Fired",
	"Toy Soldier",
	"Wild Six",
	"Gila",
	"Graphite",
	"Blaze Orange",
	"Exo",
	"Hyper Beast",
	"Tempest",
	"Green Apple",
	"Walnut",
	"Predator",
	"Rising Skull",
	"Bloomstick",
	"Candy Apple",
	"Antique",
	"Caged Steel",
	"Modern Hunter",
	"Ghost Camo",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_NovaSkinIds[37] =
{
	0, 809, 716, 699, 634, 214, 166, 590, 537, 191, 294, 158, 170, 263, 62, 3, 286, 299, 164, 225, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_XM1014Skins[35][] =
{
	"Default",
	"Incinegator",
	"Oxide Blaze",
	"Ziggy",
	"Seasons",
	"Slipstream",
	"Blaze Orange",
	"Black Tie",
	"Scumbria",
	"Tranquility",
	"Quicksilver",
	"Blue Spruce",
	"Red Leather",
	"Heaven Guard",
	"Red Python",
	"Bone Machine",
	"Candy Apple",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_XM1014SkinIds[35] =
{
	0, 850, 706, 689, 654, 616, 166, 557, 505, 393, 407, 96, 348, 314, 320, 370, 3, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_P90Skins[42][] =
{
	"Default",
	"Off World",
	"Traction",
	"Death Grip",
	"Shallow Grave",
	"Grim",
	"Chopper",
	"Shapewood",
	"Ash Wood",
	"Asiimov",
	"Blind Spot",
	"Death by Kitty",
	"Desert Warfare",
	"Elite Build",
	"Emerald Dragon",
	"Fallout Warning",
	"Fallout Warning",
	"Glacier Mesh",
	"Leather",
	"Module",
	"Teardown",
	"Trigon",
	"Virus",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_P90SkinIds[42] =
{
	0, 849, 717, 669, 636, 611, 593, 516, 234, 359, 228, 156, 311, 422, 182, 169, 378, 111, 342, 335, 224, 283, 20, 294, 3, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_P250Skins[36][] =
{
	"Default",
	"Verdigris",
	"Nevermore",
	"See Ya Later",
	"Red Rock",
	"Ripple",
	"Iron Clad",
	"Asiimov",
	"Wingshot",
	"Supernova",
	"Valence",
	"Splash",
	"Mehndi",
	"Undertow",
	"Contamination",
	"Cartel",
	"Muertos",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_P250SkinIds[36] =
{
	0, 848, 813, 678, 668, 650, 592, 551, 501, 358, 426, 162, 258, 271, 373, 388, 404, 294, 3, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_FiveSeveNSKins[30][] =
{
	"Default",
	"Angry Mob",
	"Flame Test",
	"Hyper Beast",
	"Capillary",
	"Scumbria",
	"Triumvirate",
	"Retrobution",
	"Case Hardened",
	"Hot Shot",
	"Urban Hazard",
	"Monkey Business",
	"Green Apple",
	"Candy Apple",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_FiveSeveNSKinIds[30] =
{
	0, 837, 693, 660, 646, 605, 530, 510, 44, 377, 387, 427, 294, 3, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_AugSkins[32][] =
{
	"Default",
	"Amber Slipstream",
	"Stymphalian",
	"Triqua",
	"Syd Mead",
	"Aristocrat",
	"Fleet Flock",
	"Jumble",
	"Anime",
	"Feathers",
	"Torque",
	"Chameleon",
	"Bengal Tiger",
	"Hot Rod",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_AugSkinIds[33] =
{
	0, 845, 708, 690, 674, 601, 583, 541, 507, 455, 73, 305, 280, 9, 33, 294, 3, 44, 98, 38, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_DualBerettasSkins[34][] =
{
	"Default",
	"Momentum",
	"Shred",
	"Cobra Strike",
	"Briar",
	"Moon in Libra",
	"Royal Consorts",
	"Ventilators",
	"Cartel",
	"Dualing Dragons",
	"Cobalt Quartz",
	"Black Limba",
	"Duelist",
	"Marina",
	"Hemoglobin",
	"Candy Apple",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_DualBerettasSkinIds[33] =
{
	0, 735, 658, 330, 450, 625, 544, 528, 491, 249, 190, 447, 261, 220, 3, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_M249Skins[24][] =
{
	"Default",
	"Emerald Poison Dart",
	"Spectre",
	"Nebula Crusader",
	"System Lock",
	"Candy Apple",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_M249SkinIds[24] =
{
	0, 648, 547, 496, 401, 3, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_Mac10Skins[37][] =
{
	"Default",
	"Whitefish",
	"Pipe Down",
	"Oceanic",
	"Aloha",
	"Last Dive",
	"Carnivore",
	"Lapis Gator",
	"Rangeen",
	"Silver",
	"Malachite",
	"Heat",
	"Indigo",
	"Tornado",
	"Ultraviolet",
	"Tatter",
	"Neon Rider",
	"Curse",
	"Graven",
	"Green Apple",
	"Fade",
	"Candy Apple",
	"Bulldozer",
	"Case Hardened",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_Mac10SkinIds[37] =
{
	0, 840, 812, 682, 665, 651, 589, 534, 498, 32, 402, 284, 333, 206, 98, 337, 433, 310, 188, 294, 38, 3, 39, 44, 33, 40, 5, 77, 409, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_Mag7Skins[32][] =
{
	"Default",
	"Swag",
	"Hard Water",
	"Sonar",
	"Petroglyph",
	"Praetorian",
	"Cobalt Core",
	"Firestarter",
	"Memento",
	"Heat",
	"Silver",
	"Heaven Guard",
	"Metallic DDPAT",
	"Bulldozer",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_Mag7SkinIds[32] =
{
	0, 703, 666, 633, 608, 535, 499, 385, 177, 431, 32, 291, 34, 39, 294, 3, 44, 98, 38, 33, 40, 5, 77, 409, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_Mp7Skins[34][] =
{
	"Default",
	"Mischief",
	"Powercore",
	"Bloodsport",
	"Akoben",
	"Gunsmoke",
	"Cirrus",
	"Impire",
	"Special Delivery",
	"Skulls",
	"Gun Smoke",
	"Asterion",
	"Nemesis",
	"Whiteout",
	"Urban Hazard",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_Mp7SkinIds[34] =
{
	0, 847, 719, 696, 649, 15, 627, 536, 500, 11, 15, 442, 481, 102, 354, 294, 3, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_Mp9Skins[39][] =
{
	"Default",
	"Modest Threat",
	"Capillary",
	"Black Sand",
	"Goo",
	"Dark Age",
	"Sand Scale",
	"Airlock",
	"Bioleak",
	"Hypnotic",
	"Poison Dart",
	"Ruby Poison Dart",
	"Dart",
	"Deadly Poison",
	"Bulldozer",
	"Orange Peel",
	"Rose Iron",
	"Pandora's Box",
	"Setting Sun",
	"Candy Apple",
	"Carbon Fiber",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_Mp9SkinIds[39] =
{
	0, 804, 715, 697, 679, 329, 630, 609, 549, 61, 315, 482, 386, 403, 39, 141, 262, 448, 368, 3, 70, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_Tec9Skins[37][] =
{
	"Default",
	"Bamboozle",
	"Fubar",
	"Snek-9",
	"Cracked Opal",
	"Cut Out",
	"Fuel Injector",
	"Ice Cap",
	"Re-Entry",
	"Jambiya",
	"Avalanche",
	"Isaac",
	"Titanium Bit",
	"Brass",
	"Ossified",
	"Toxic",
	"Terrace",
	"Red Quartz",
	"Green Apple",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_Tec9SkinIds[37] =
{
	0, 839, 816, 722, 684, 671, 614, 599, 555, 539, 520, 303, 272, 101, 36, 374, 463, 248, 294, 3, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_Ump45Skins[39][] =
{
	"Default",
	"Moonrise",
	"Momentum",
	"Arctic Wolf",
	"Exposure",
	"Metal Flowers",
	"Scaffold",
	"Gunsmoke",
	"Briefing",
	"Primal Saber",
	"Bone Pile",
	"Urban DDPAT",
	"Delusion",
	"Indigo",
	"Minotaur's Labyrinth",
	"Gun Smoke",
	"Caramel",
	"Blaze",
	"Corporal",
	"Grand Prix",
	"Candy Apple",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_Ump45SkinIds[39] =
{
	0, 851, 802, 704, 688, 672, 652, 15, 615, 556, 193, 17, 392, 333, 441, 15, 93, 37, 281, 436, 3, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_Ak47Skins[46][] =
{
	"Default",
	"Uncharted",
	"Asiimov",
	"Neon Rider",
	"The Empress",
	"Orbit Mk01",
	"Bloodsport",
	"Neon Revolution",
	"Fuel Injector",
	"Point Disarray",
	"Black Laminate",
	"Frontside Misty",
	"Vulcan",
	"Wasteland Rebel",
	"Case Hardened",
	"Cartel",
	"Fire Serpent",
	"Elite Build",
	"Redline",
	"Red Laminate",
	"Blue Laminate",
	"Aquamarine Revenge",
	"Jaguar",
	"Hydroponic",
	"Jet Set",
	"Jungle Spray",
	"First Class",
	"Emerald Pinestripe",
	"Candy Apple",
	"Green Apple",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_Ak47SkinIds[46] =
{
	0, 836, 801, 707, 675, 656, 639, 600, 524, 506, 172, 490, 302, 380, 44, 394, 180, 422, 282, 14, 226, 474, 316, 456, 340, 122, 341, 300, 3, 294, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_PPBizonSkins[35][] =
{
	"Default",
	"Night Riot",
	"High Roller",
	"Jungle Slipstream",
	"Blue Streak",
	"Harvester",
	"Judgement of Anubis",
	"Photic Zone",
	"Antique",
	"Osiris",
	"Brass",
	"Cobalt Halftone",
	"Night Ops",
	"Water Sigil",
	"Chemical Green",
	"Carbon Fiber",
	"Candy Apple",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_PPBizonSkinIds[35] =
{
	0, 692, 676, 641, 13, 594, 542, 526, 306, 349, 101, 267, 236, 224, 376, 70, 3, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_UspSkins[40][] =
{
	"Default",
	"Flashback",
	"Cortex",
	"Blueprint",
	"Neo-Noir",
	"Para Green",
	"Road Rash",
	"Cyrex",
	"Lead Conduit",
	"Kill Confirmed",
	"Torque",
	"Stainless",
	"Serum",
	"Royal Blue",
	"Overgrowth",
	"Orion",
	"Night Ops",
	"Forest Leaves",
	"Caiman",
	"Business Class",
	"Blood Tiger",
	"Candy Apple",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_UspSkinIds[40] =
{
	0, 817, 705, 657, 653, 454, 318, 637, 540, 504, 489, 277, 221, 332, 183, 313, 236, 25, 339, 364, 217, 3, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_P2000Skins[33][] =
{
	"Default",
	"Urban Hazard",
	"Woodsman",
	"Turf",
	"Imperial Dragon",
	"Oceanic",
	"Imperial",
	"Pulse",
	"Ivory",
	"Green Apple",
	"Scorpion",
	"Corticera",
	"Silver",
	"Chainmail",
	"Ocean Foam",
	"Fire Elemental",
	"Candy Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_P2000SkinIds[33] =
{
	0, 700, 667, 635, 591, 550, 515, 338, 357, 294, 71, 184, 32, 327, 213, 389, 3, 44, 98, 38, 33, 40, 5, 77, 409, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_FamasSkins[39][] =
{
	"Default",
	"Crypsis",
	"Eye of Athena",
	"Macabre",
	"Mecha Industries",
	"Roll Cage",
	"Valence",
	"Survivor Z",
	"Djinn",
	"Afterimage",
	"Cyanospatter",
	"Contrast Spray",
	"Doomkitty",
	"Hexane",
	"Neural Net",
	"Pulse",
	"Sergeant",
	"Spitfire",
	"Styx",
	"Teardown",
	"Candy Apple",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Fade",
	"Hot Rod",
	"Night",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_FamasSkinIds[39] =
{
	0, 835, 723, 659, 626, 604, 529, 492, 429, 154, 92, 22, 178, 218, 477, 260, 288, 194, 371, 244, 3, 294, 44, 98, 38, 33, 40, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new String:g_Glock18Skins[37][] =
{
	"Default",
	"Oxide Blaze",
	"Warhawk",
	"Moonrise",
	"Off World",
	"Ironwork",
	"Weasel",
	"Wasteland Rebel",
	"Royal Legion",
	"Wraiths",
	"Fade",
	"Bunsen Burner",
	"Candy Apple",
	"Catacombs",
	"Death Rattle",
	"Dragon Tattoo",
	"Grinder",
	"Night",
	"Steel Disruption",
	"Twilight Galaxy",
	"Water Elemental",
	"Green Apple",
	"Case Hardened",
	"Ultraviolet",
	"Hot Rod",
	"Forest DDPAT",
	"Boreal Forest",
	"Tiger Tooth",
	"Silver",
	"Crimson Web",
	"Crimson Web (Darker)",
	"Amber Fade",
	"Blue Steel",
	"Marble Fade",
	"Slaughter",
	"Safari Mesh",
	"Rust Coat"
};
new g_Glock18SkinIds[37] =
{
	0, 808, 713, 694, 680, 623, 607, 586, 532, 495, 38, 479, 3, 399, 293, 48, 381, 40, 230, 437, 353, 294, 44, 98, 33, 5, 77, 409, 32, 12, 232, 246, 42, 413, 59, 72, 414
};
new Handle:g_pDatabase;
new Handle:g_pKnifeCookie;
new Handle:g_pStatTrakOptionCookie;
new Handle:g_pKnifeSkinCookie;
new g_Skins[66][768];
new g_ItemDefinitionIndex[66];
new g_Kills[66];
new g_SpawnTime[66];
new String:g_Steam[66][32];
new bool:g_bIsInGame[66];
new bool:g_bMessageShown[66];
new KnifeSkin:g_pKnifeSkin[66] =
{
	-2, ...
};
new Knife:g_pKnife[66] =
{
	-1, ...
};
new StatTrakOption:g_pStatTrakOption[66];
new Handle:g_pWear;
new Handle:g_pNTCookies[768];
new String:g_Buffer[4096];
new g_iFakeClient = -1;
new bool:g_bIsInRound;
new Float:g_fDelay;
new g_Offset;
public __ext_core_SetNTVOptional()
{
	MarkNativeAsOptional("GetFeatureStatus");
	MarkNativeAsOptional("RequireFeature");
	MarkNativeAsOptional("AddCommandListener");
	MarkNativeAsOptional("RemoveCommandListener");
	MarkNativeAsOptional("BfWriteBool");
	MarkNativeAsOptional("BfWriteByte");
	MarkNativeAsOptional("BfWriteChar");
	MarkNativeAsOptional("BfWriteShort");
	MarkNativeAsOptional("BfWriteWord");
	MarkNativeAsOptional("BfWriteNum");
	MarkNativeAsOptional("BfWriteFloat");
	MarkNativeAsOptional("BfWriteString");
	MarkNativeAsOptional("BfWriteEntity");
	MarkNativeAsOptional("BfWriteAngle");
	MarkNativeAsOptional("BfWriteCoord");
	MarkNativeAsOptional("BfWriteVecCoord");
	MarkNativeAsOptional("BfWriteVecNormal");
	MarkNativeAsOptional("BfWriteAngles");
	MarkNativeAsOptional("BfReadBool");
	MarkNativeAsOptional("BfReadByte");
	MarkNativeAsOptional("BfReadChar");
	MarkNativeAsOptional("BfReadShort");
	MarkNativeAsOptional("BfReadWord");
	MarkNativeAsOptional("BfReadNum");
	MarkNativeAsOptional("BfReadFloat");
	MarkNativeAsOptional("BfReadString");
	MarkNativeAsOptional("BfReadEntity");
	MarkNativeAsOptional("BfReadAngle");
	MarkNativeAsOptional("BfReadCoord");
	MarkNativeAsOptional("BfReadVecCoord");
	MarkNativeAsOptional("BfReadVecNormal");
	MarkNativeAsOptional("BfReadAngles");
	MarkNativeAsOptional("BfGetNumBytesLeft");
	MarkNativeAsOptional("BfWrite.WriteBool");
	MarkNativeAsOptional("BfWrite.WriteByte");
	MarkNativeAsOptional("BfWrite.WriteChar");
	MarkNativeAsOptional("BfWrite.WriteShort");
	MarkNativeAsOptional("BfWrite.WriteWord");
	MarkNativeAsOptional("BfWrite.WriteNum");
	MarkNativeAsOptional("BfWrite.WriteFloat");
	MarkNativeAsOptional("BfWrite.WriteString");
	MarkNativeAsOptional("BfWrite.WriteEntity");
	MarkNativeAsOptional("BfWrite.WriteAngle");
	MarkNativeAsOptional("BfWrite.WriteCoord");
	MarkNativeAsOptional("BfWrite.WriteVecCoord");
	MarkNativeAsOptional("BfWrite.WriteVecNormal");
	MarkNativeAsOptional("BfWrite.WriteAngles");
	MarkNativeAsOptional("BfRead.ReadBool");
	MarkNativeAsOptional("BfRead.ReadByte");
	MarkNativeAsOptional("BfRead.ReadChar");
	MarkNativeAsOptional("BfRead.ReadShort");
	MarkNativeAsOptional("BfRead.ReadWord");
	MarkNativeAsOptional("BfRead.ReadNum");
	MarkNativeAsOptional("BfRead.ReadFloat");
	MarkNativeAsOptional("BfRead.ReadString");
	MarkNativeAsOptional("BfRead.ReadEntity");
	MarkNativeAsOptional("BfRead.ReadAngle");
	MarkNativeAsOptional("BfRead.ReadCoord");
	MarkNativeAsOptional("BfRead.ReadVecCoord");
	MarkNativeAsOptional("BfRead.ReadVecNormal");
	MarkNativeAsOptional("BfRead.ReadAngles");
	MarkNativeAsOptional("BfRead.GetNumBytesLeft");
	MarkNativeAsOptional("PbReadInt");
	MarkNativeAsOptional("PbReadFloat");
	MarkNativeAsOptional("PbReadBool");
	MarkNativeAsOptional("PbReadString");
	MarkNativeAsOptional("PbReadColor");
	MarkNativeAsOptional("PbReadAngle");
	MarkNativeAsOptional("PbReadVector");
	MarkNativeAsOptional("PbReadVector2D");
	MarkNativeAsOptional("PbGetRepeatedFieldCount");
	MarkNativeAsOptional("PbSetInt");
	MarkNativeAsOptional("PbSetFloat");
	MarkNativeAsOptional("PbSetBool");
	MarkNativeAsOptional("PbSetString");
	MarkNativeAsOptional("PbSetColor");
	MarkNativeAsOptional("PbSetAngle");
	MarkNativeAsOptional("PbSetVector");
	MarkNativeAsOptional("PbSetVector2D");
	MarkNativeAsOptional("PbAddInt");
	MarkNativeAsOptional("PbAddFloat");
	MarkNativeAsOptional("PbAddBool");
	MarkNativeAsOptional("PbAddString");
	MarkNativeAsOptional("PbAddColor");
	MarkNativeAsOptional("PbAddAngle");
	MarkNativeAsOptional("PbAddVector");
	MarkNativeAsOptional("PbAddVector2D");
	MarkNativeAsOptional("PbRemoveRepeatedFieldValue");
	MarkNativeAsOptional("PbReadMessage");
	MarkNativeAsOptional("PbReadRepeatedMessage");
	MarkNativeAsOptional("PbAddMessage");
	MarkNativeAsOptional("Protobuf.ReadInt");
	MarkNativeAsOptional("Protobuf.ReadFloat");
	MarkNativeAsOptional("Protobuf.ReadBool");
	MarkNativeAsOptional("Protobuf.ReadString");
	MarkNativeAsOptional("Protobuf.ReadColor");
	MarkNativeAsOptional("Protobuf.ReadAngle");
	MarkNativeAsOptional("Protobuf.ReadVector");
	MarkNativeAsOptional("Protobuf.ReadVector2D");
	MarkNativeAsOptional("Protobuf.GetRepeatedFieldCount");
	MarkNativeAsOptional("Protobuf.SetInt");
	MarkNativeAsOptional("Protobuf.SetFloat");
	MarkNativeAsOptional("Protobuf.SetBool");
	MarkNativeAsOptional("Protobuf.SetString");
	MarkNativeAsOptional("Protobuf.SetColor");
	MarkNativeAsOptional("Protobuf.SetAngle");
	MarkNativeAsOptional("Protobuf.SetVector");
	MarkNativeAsOptional("Protobuf.SetVector2D");
	MarkNativeAsOptional("Protobuf.AddInt");
	MarkNativeAsOptional("Protobuf.AddFloat");
	MarkNativeAsOptional("Protobuf.AddBool");
	MarkNativeAsOptional("Protobuf.AddString");
	MarkNativeAsOptional("Protobuf.AddColor");
	MarkNativeAsOptional("Protobuf.AddAngle");
	MarkNativeAsOptional("Protobuf.AddVector");
	MarkNativeAsOptional("Protobuf.AddVector2D");
	MarkNativeAsOptional("Protobuf.RemoveRepeatedFieldValue");
	MarkNativeAsOptional("Protobuf.ReadMessage");
	MarkNativeAsOptional("Protobuf.ReadRepeatedMessage");
	MarkNativeAsOptional("Protobuf.AddMessage");
	VerifyCoreVersion();
	return 0;
}

bool:StrEqual(String:str1[], String:str2[], bool:caseSensitive)
{
	return strcmp(str1, str2, caseSensitive) == 0;
}

CharToUpper(chr)
{
	if (IsCharLower(chr))
	{
		return chr & -33;
	}
	return chr;
}

StrCat(String:buffer[], maxlength, String:source[])
{
	new len = strlen(buffer);
	if (len >= maxlength)
	{
		return 0;
	}
	return Format(buffer[len], maxlength - len, "%s", source);
}

ExplodeString(String:text[], String:split[], String:buffers[][], maxStrings, maxStringLength, bool:copyRemainder)
{
	new reloc_idx;
	new idx;
	new total;
	new var1;
	if (maxStrings < 1 || !split[0])
	{
		return 0;
	}
	while ((idx = SplitString(text[reloc_idx], split, buffers[total], maxStringLength)) != -1)
	{
		reloc_idx = idx + reloc_idx;
		total++;
		if (maxStrings == total)
		{
			if (copyRemainder)
			{
				strcopy(buffers[total + -1], maxStringLength, text[reloc_idx - idx]);
			}
			return total;
		}
	}
	total++;
	strcopy(buffers[total], maxStringLength, text[reloc_idx]);
	return total;
}

PrintToChatAll(String:format[])
{
	decl String:buffer[192];
	new i = 1;
	while (i <= MaxClients)
	{
		if (IsClientInGame(i))
		{
			SetGlobalTransTarget(i);
			VFormat(buffer, 192, format, 2);
			PrintToChat(i, "%s", buffer);
		}
		i++;
	}
	return 0;
}

bool:CanTestFeatures()
{
	return LibraryExists("__CanTestFeatures__");
}

Find(String:szProp[])
{
	static iInfo;
	static iIter;
	static String:pClasses[41][] =
	{
		"Player",
		"CSPlayer",
		"CCSPlayer",
		"GameResource",
		"GameResources",
		"CGameResource",
		"CGameResources",
		"CSGameResource",
		"CSGameResources",
		"CCSGameResource",
		"CCSGameResources",
		"BasePlayer",
		"CBasePlayer",
		"BaseEntity",
		"CBaseEntity",
		"BaseWeapon",
		"CBaseWeapon",
		"BaseGrenade",
		"CBaseGrenade",
		"BaseCombatWeapon",
		"CBaseCombatWeapon",
		"WeaponCSBase",
		"CWeaponCSBase",
		"CSWeaponCSBase",
		"CCSWeaponCSBase",
		"PlayerResource",
		"CPlayerResource",
		"CSPlayerResource",
		"CCSPlayerResource",
		"PlayerResources",
		"CPlayerResources",
		"CSPlayerResources",
		"CCSPlayerResources",
		"BaseAnimating",
		"CBaseAnimating",
		"BaseCombatCharacter",
		"CBaseCombatCharacter",
		"BaseMultiplayerPlayer",
		"CBaseMultiplayerPlayer",
		"BaseFlex",
		"CBaseFlex"
	};
	iIter = 0;
	while (iIter < 41)
	{
		if (0 < (iInfo = FindSendPropInfo(pClasses[iIter], szProp, 0, 0, 0)))
		{
			return iInfo;
		}
		iIter += 1;
	}
	return 0;
}

void:xSaveUserNameTagForWeapon(iUser, iWeapon, String:szNameTag[])
{
	static String:szName[32];
	static String:szInfo[256];
	if (!g_pNTCookies[iWeapon])
	{
		FormatEx(szName, 32, "m_szCustomName@%04d", iWeapon);
		FormatEx(szInfo, 256, "Custom Name For Weapon Having m_iItemDefinitionIndex %d", iWeapon);
		g_pNTCookies[iWeapon] = RegClientCookie(szName, szInfo, CookieAccess:2);
	}
	if (g_pNTCookies[iWeapon])
	{
		SetClientCookie(iUser, g_pNTCookies[iWeapon], szNameTag);
	}
	return void:0;
}

void:xGetUserNameTagForWeapon(iUser, iWeapon, String:szNameTag[])
{
	static String:szName[32];
	static String:szInfo[256];
	if (!g_pNTCookies[iWeapon])
	{
		FormatEx(szName, 32, "m_szCustomName@%04d", iWeapon);
		FormatEx(szInfo, 256, "Custom Name For Weapon Having m_iItemDefinitionIndex %d", iWeapon);
		g_pNTCookies[iWeapon] = RegClientCookie(szName, szInfo, CookieAccess:2);
	}
	if (g_pNTCookies[iWeapon])
	{
		GetClientCookie(iUser, g_pNTCookies[iWeapon], szNameTag, 32);
	}
	return void:0;
}

public void:OnMySQLThreadedConnection(Handle:pOwner, Handle:pChild, String:Error[], any:Data)
{
	if (g_pDatabase)
	{
		if (pChild)
		{
			CloseHandle(pChild);
			pChild = MissingTAG:0;
		}
	}
	else
	{
		g_pDatabase = pChild;
		new var1;
		if (strlen(Error) < 1 && g_pDatabase)
		{
			SQL_SetCharset(g_pDatabase, "utf8");
			SQL_TQuery(g_pDatabase, QueryHandler_Empty, "CREATE TABLE IF NOT EXISTS nf_players (Steam varchar(128) NOT NULL UNIQUE, Skins varchar(8192), Name varchar(128), lastSeen NUMERIC, Kills NUMERIC);", any:0, DBPriority:0);
		}
	}
	return void:0;
}

public void:OnMapStart()
{
	CreateTimer(1.0, Timer_CreateFakeClient, any:0, 2);
	g_fDelay = 0.0;
	return void:0;
}

public Action:Timer_CreateFakeClient(Handle:pTimer, any:_Data)
{
	if (g_iFakeClient == -1)
	{
		g_iFakeClient = CreateFakeClient("[BOT] FREAK");
	}
	return Action:0;
}

public void:OnMapEnd()
{
	if (g_iFakeClient != -1)
	{
		g_iFakeClient = -1;
	}
	g_bIsInRound = false;
	g_fDelay = 0.0;
	return void:0;
}

public Action:CS_OnTerminateRound(&Float:Delay, &CSRoundEndReason:Reason)
{
	static Owner;
	g_bIsInRound = false;
	Owner = 1;
	while (Owner <= MaxClients)
	{
		new var1;
		if (g_bIsInGame[Owner] && IsPlayerAlive(Owner))
		{
			CreateTimer(Delay - GetRandomFloat(0.2975, 0.3995), stripKnifeQuietly, Owner, 2);
		}
		Owner += 1;
	}
	return Action:0;
}

public Action:stripKnifeQuietly(Handle:pTimer, any:Owner)
{
	static String:Class[32];
	static Tries;
	static Entity;
	new var1;
	if (g_bIsInGame[Owner] && IsPlayerAlive(Owner))
	{
		Entity = -1;
		Tries = 0;
		while ((Entity = GetPlayerWeaponSlot(Owner, 2)) != -1)
		{
			new var3;
			if (GetEdictClassname(Entity, Class, 32) && (StrContains(Class, "Knife", false) == -1 && StrContains(Class, "Bayonet", false) == -1))
			{
				if (RemovePlayerItem(Owner, Entity))
				{
					my_Remove(Entity);
				}
			}
			Tries += 1;
			if (Tries >= 4)
			{
			}
		}
	}
	return Action:0;
}

Float:FClamp(Float:fVal, Float:fMin, Float:fMax)
{
	if (fVal < fMin)
	{
		return fMin;
	}
	if (fVal > fMax)
	{
		return fMax;
	}
	return fVal;
}

Float:GetWear(iId)
{
	static String:szValue[8];
	GetClientCookie(iId, g_pWear, szValue, 8);
	return FClamp(StringToFloat(szValue), 5.0E-5, 8192.0);
}

public Action:OnWear(iClient, iArgs)
{
	new var1;
	if (iClient < 1 || iClient > MaxClients || !IsClientInGame(iClient))
	{
		return Action:4;
	}
	new Float:fOldWear = GetWear(iClient);
	if (iArgs < 1)
	{
		ReplyToCommand(iClient, "Current\x04 Wear\x0B %f", fOldWear);
		ReplyToCommand(iClient, "Command Usage (Example)\x04 SM_Wear\x0B %f", GetRandomFloat(0.0, 1.0));
		return Action:4;
	}
	new String:szArg[32];
	GetCmdArg(1, szArg, 32);
	new Float:fWear = FClamp(StringToFloat(szArg), 5.0E-5, 8192.0);
	FloatToString(fWear, szArg, 32);
	SetClientCookie(iClient, g_pWear, szArg);
	ReplyToCommand(iClient, "Old\x04 Wear\x0B %f\x01    New\x04 Wear\x0B %f", fOldWear, StringToFloat(szArg));
	if (IsPlayerAlive(iClient))
	{
		CreateTimer(GetRandomFloat(0.025, 0.1575), TimerHandler_DisplaySkinsMenu, iClient, 2);
	}
	return Action:4;
}

public Action:Timer_Ad(Handle:pTimer, any:_Data)
{
	PrintToChatAll("\x01 NEW COMMAND\x04  !WEAR\x05  %f\x01  (EXAMPLE)", GetRandomFloat(0.0, 1.0));
	return Action:0;
}

public void:OnPluginStart()
{
	new ips[4];
	new String:serverip[128];
	new ip = GetConVarInt(FindConVar("hostip"));
	new port = GetConVarInt(FindConVar("hostport"));
	ips[0] = ip >>> 24 & 255;
	ips[1] = ip >>> 16 & 255;
	ips[2] = ip >>> 8 & 255;
	ips[3] = ip & 255;
	Format(serverip, 128, "%d.%d.%d.%d:%d", ips, ips[1], ips[2], ips[3], port);
	if (!(StrEqual(serverip, "89.46.123.106:27015", true)))
	{
		SetFailState("I-ai furat pluginul lui FREAK");
	}
	CreateTimer(10.0 * 60.0, Timer_Ad, any:0, 1);
	SQL_TConnect(OnMySQLThreadedConnection, "new_features", any:0);
	HookEventEx("round_start", OnRoundStart, EventHookMode:1);
	HookEventEx("player_spawn", OnPlayerSpawn, EventHookMode:1);
	HookEventEx("player_death", OnPlayerDeath, EventHookMode:1);
	RegAdminCmd("sm_wear", OnWear, 0, "Sets Wear Value (Float) On Item", "", 0);
	RegConsoleCmd("buyammo", CommandBuyAmmo, "", 0);
	RegConsoleCmd("buyammo1", CommandBuyAmmo, "", 0);
	RegConsoleCmd("buyammo2", CommandBuyAmmo, "", 0);
	RegConsoleCmd("say", CommandSay, "", 0);
	RegConsoleCmd("say_team", CommandSay, "", 0);
	g_Offset = Find("m_szCustomName");
	g_pKnifeCookie = RegClientCookie("KnifeType", "Stores the knifecc type.", CookieAccess:2);
	g_pStatTrakOptionCookie = RegClientCookie("StatTrakTechOpt", "Stores the StatTrak(tm) technology option.", CookieAccess:2);
	g_pKnifeSkinCookie = RegClientCookie("KnifeSkin", "Stores the knife skin.", CookieAccess:2);
	g_pWear = RegClientCookie("Wear", "Stores The Wear Value", CookieAccess:2);
	return void:0;
}

public void:OnRoundStart(Handle:pEvent, String:eventName[], bool:bNoBroadcast)
{
	g_bIsInRound = true;
	return void:0;
}

public void:OnClientAuthorized(Client, String:Auth[])
{
	new var1;
	if (!IsFakeClient(Client) && !IsClientSourceTV(Client))
	{
		FormatEx(g_Steam[Client], 32, Auth);
	}
	else
	{
		FormatEx(g_Steam[Client], 32, "BOT@%N", Client);
		g_pStatTrakOption[Client] = 1;
		g_bMessageShown[Client] = 1;
		g_pKnife[Client] = -1;
		g_pKnifeSkin[Client] = 0;
	}
	return void:0;
}

public void:OnClientPutInServer(Client)
{
	static Iterator;
	g_bIsInGame[Client] = 1;
	g_Kills[Client] = 0;
	Iterator = 0;
	while (Iterator < 768)
	{
		g_Skins[Client][Iterator] = 0;
		Iterator += 1;
	}
	new var1;
	if (IsFakeClient(Client) || IsClientSourceTV(Client) || StrContains("GOTV BOT HLTV SOURCETV SRCTV", g_Steam[Client], false) == -1)
	{
		FormatEx(g_Steam[Client], 32, "BOT@%N", Client);
		g_pStatTrakOption[Client] = 1;
		g_bMessageShown[Client] = 1;
		g_pKnife[Client] = -1;
		g_pKnifeSkin[Client] = 0;
	}
	else
	{
		SDKHookEx(Client, SDKHookType:32, OnWeaponEquip);
		if (g_pDatabase)
		{
			FormatEx(g_Buffer, 4096, "SELECT Skins, Kills FROM nf_players WHERE Steam = '%s';", g_Steam[Client]);
			SQL_TQuery(g_pDatabase, QueryHandler_SkinsReceived, g_Buffer, Client, DBPriority:0);
		}
		CreateTimer(0.1, loadSkins_Delayed, Client, 2);
	}
	return void:0;
}

public Action:CommandBuyAmmo(Client, Args)
{
	static theTime;
	static lastTime[66];
	new var1;
	if (Client > 0 && g_bIsInGame[Client])
	{
		theTime = GetTime({0,0});
		new var2;
		if (lastTime[Client] < theTime && IsPlayerAlive(Client))
		{
			CreateTimer(GetRandomFloat(0.025, 0.1575), TimerHandler_DisplaySkinsMenu, Client, 2);
			lastTime[Client] = theTime + 1;
		}
	}
	return Action:0;
}

public Action:OnWeaponEquip(iClient, iEntity)
{
	static iPrevOwner = -1;
	new var2;
	if ((iPrevOwner = GetEntPropEnt(iEntity, PropType:0, "m_hPrevOwner", 0)) == -1 || (g_iFakeClient == iPrevOwner && g_iFakeClient != -1))
	{
		applyWeaponData(iClient, iEntity, GetEntProp(iEntity, PropType:0, "m_iItemDefinitionIndex", 4, 0), true);
	}
	return Action:0;
}

void:SaveMe(Client)
{
	static Time;
	static iStamp[66];
	static Iterator;
	static String:Item[32];
	static bool:bShouldSave;
	Time = GetTime({0,0});
	new var1;
	if (Time - iStamp[Client] < 3 || Time - g_SpawnTime[Client] < 1)
	{
		return void:0;
	}
	iStamp[Client] = Time;
	g_Buffer[0] = 0;
	bShouldSave = false;
	Iterator = 0;
	while (Iterator < 768)
	{
		new var2;
		if (!bShouldSave && g_Skins[Client][Iterator])
		{
			bShouldSave = true;
		}
		IntToString(g_Skins[Client][Iterator], Item, 32);
		StrCat(g_Buffer, 4096, Item);
		if (Iterator != 767)
		{
			StrCat(g_Buffer, 4096, ",");
		}
		Iterator += 1;
	}
	new var3;
	if (bShouldSave && g_pDatabase)
	{
		Format(g_Buffer, 4096, "UPDATE nf_players SET Skins = '%s', lastSeen = %d WHERE Steam = '%s';", g_Buffer, GetTime({0,0}), g_Steam[Client]);
		SQL_TQuery(g_pDatabase, QueryHandler_Empty, g_Buffer, any:0, DBPriority:2);
	}
	return void:0;
}

public void:OnClientDisconnect(Client)
{
	SDKUnhook(Client, SDKHookType:32, OnWeaponEquip);
	g_bIsInGame[Client] = 0;
	return void:0;
}

public Action:loadSkins_Delayed(Handle:pTimer, any:Client)
{
	new var1;
	if (g_bIsInGame[Client] || IsClientInGame(Client) || IsClientConnected(Client))
	{
		if (g_pDatabase)
		{
			FormatEx(g_Buffer, 4096, "SELECT Skins, Kills FROM nf_players WHERE Steam = '%s';", g_Steam[Client]);
			SQL_TQuery(g_pDatabase, QueryHandler_SkinsReceived, g_Buffer, Client, DBPriority:0);
		}
		CreateTimer(0.1, loadSkins_Delayed, Client, 2);
	}
	return Action:0;
}

public void:OnClientCookiesCached(Client)
{
	static String:Value[8];
	new var1;
	if (!IsFakeClient(Client) && !IsClientSourceTV(Client) && StrContains("GOTV BOT HLTV SOURCETV SRCTV", g_Steam[Client], false) == -1)
	{
		GetClientCookie(Client, g_pKnifeCookie, Value, 8);
		if (strlen(Value))
		{
			g_pKnife[Client] = StringToInt(Value, 10);
		}
		else
		{
			g_pKnife[Client] = -1;
		}
		GetClientCookie(Client, g_pKnifeSkinCookie, Value, 8);
		if (strlen(Value))
		{
			g_pKnifeSkin[Client] = StringToInt(Value, 10);
		}
		else
		{
			g_pKnifeSkin[Client] = -2;
		}
		GetClientCookie(Client, g_pStatTrakOptionCookie, Value, 8);
		if (strlen(Value))
		{
			new var2;
			if (StringToInt(Value, 10) > 0)
			{
				var2 = StringToInt(Value, 10);
			}
			else
			{
				var2 = 0;
			}
			g_pStatTrakOption[Client] = var2;
			new var3;
			if (GetRandomInt(0, 2))
			{
				var3 = 1;
			}
			else
			{
				var3 = 0;
			}
			g_bMessageShown[Client] = var3;
		}
		else
		{
			g_pStatTrakOption[Client] = 0;
			g_bMessageShown[Client] = 0;
		}
	}
	else
	{
		g_pStatTrakOption[Client] = 1;
		g_bMessageShown[Client] = 1;
		g_pKnife[Client] = -1;
		g_pKnifeSkin[Client] = 0;
	}
	return void:0;
}

GetRandomKnifeSkin()
{
	static KnifeSkin:knifeIds[34] =
	{
		0, 38, 12, 232, 98, 44, 5, 40, 413, 77, 418, 419, 420, 421, 59, 42, 409, 415, 416, 417, 569, 570, 571, 572, 568, 43, 72, 143, 175, 414, 519, 522, 520, 523
	};
	return knifeIds[GetRandomInt(0, 33)];
}

void:KnifeClassByOption(Owner, String:Class[], Size)
{
	switch (g_pKnife[Owner])
	{
		case -1, 0:
		{
			switch (GetClientTeam(Owner))
			{
				case 2:
				{
					FormatEx(Class, Size, "weapon_knife_t");
				}
				case 3:
				{
					FormatEx(Class, Size, "weapon_knife");
				}
				default:
				{
				}
			}
		}
		case 1:
		{
			FormatEx(Class, Size, "weapon_knife_karambit");
		}
		case 2:
		{
			FormatEx(Class, Size, "weapon_knife_butterfly");
		}
		case 3:
		{
			FormatEx(Class, Size, "weapon_knife_m9_bayonet");
		}
		case 4:
		{
			FormatEx(Class, Size, "weapon_bayonet");
		}
		case 5:
		{
			FormatEx(Class, Size, "weapon_knife_tactical");
		}
		case 6:
		{
			FormatEx(Class, Size, "weapon_knife_push");
		}
		case 7:
		{
			FormatEx(Class, Size, "weapon_knife_falchion");
		}
		case 8:
		{
			FormatEx(Class, Size, "weapon_knife_gut");
		}
		case 9:
		{
			FormatEx(Class, Size, "weapon_knife_flip");
		}
		case 10:
		{
			FormatEx(Class, Size, "weapon_knife_survival_bowie");
		}
		case 11:
		{
			FormatEx(Class, Size, "weapon_knife_ursus");
		}
		case 12:
		{
			FormatEx(Class, Size, "weapon_knife_stiletto");
		}
		case 13:
		{
			FormatEx(Class, Size, "weapon_knife_gypsy_jackknife");
		}
		case 14:
		{
			FormatEx(Class, Size, "weapon_knife_widowmaker");
		}
		default:
		{
		}
	}
	return void:0;
}

void:applyKnifeData(Owner, Entity, Id)
{
	new var1;
	if (Id >= 128 && g_pKnife[Owner] && g_pKnife[Owner] != Knife:-1)
	{
		SetEntProp(Entity, PropType:0, "m_iItemIDLow", any:-1, 4, 0);
		new var2;
		if (g_pKnifeSkin[Owner] && g_pKnifeSkin[Owner] == KnifeSkin:-2)
		{
			SetEntProp(Entity, PropType:0, "m_nFallbackPaintKit", any:1, 4, 0);
		}
		else
		{
			new var3;
			if (g_pKnifeSkin[Owner] == KnifeSkin:-1)
			{
				var3 = GetRandomKnifeSkin();
			}
			else
			{
				var3 = g_pKnifeSkin[Owner];
			}
			SetEntProp(Entity, PropType:0, "m_nFallbackPaintKit", var3, 4, 0);
		}
		new var4;
		if (g_pKnifeSkin[Owner] && g_pKnifeSkin[Owner] != KnifeSkin:-2)
		{
			SetEntPropFloat(Entity, PropType:0, "m_flFallbackWear", GetWear(Owner), 0);
			SetEntProp(Entity, PropType:0, "m_nFallbackSeed", GetRandomInt(0, 8192), 4, 0);
		}
		if (g_pStatTrakOption[Owner] == StatTrakOption:2)
		{
			SetEntProp(Entity, PropType:0, "m_nFallbackStatTrak", g_Kills[Owner], 4, 0);
		}
		else
		{
			SetEntProp(Entity, PropType:0, "m_nFallbackStatTrak", any:-1, 4, 0);
		}
		SetEntProp(Entity, PropType:0, "m_iEntityQuality", any:3, 4, 0);
		new var6;
		if (!xVIPAvail() || (xVIPAvail() && xIsVIP(Owner)))
		{
			xGetUserNameTagForWeapon(Owner, Id, g_Buffer);
			if (0 < strlen(g_Buffer))
			{
				SetEntDataString(Entity, g_Offset, g_Buffer, 256, false);
			}
		}
		SetEntProp(Entity, PropType:0, "m_iAccountID", GetEntProp(Entity, PropType:0, "m_OriginalOwnerXuidLow", 4, 0), 4, 0);
	}
	return void:0;
}

public APLRes:AskPluginLoad2(Handle:pSelf, bool:bLate, String:szError[], iMaxErrSize)
{
	MarkNativeAsOptional("IsClientVIP");
	CreateNative("EquipKnife", __EquipKnife);
	RegPluginLibrary("new_features");
	return APLRes:0;
}

bool:xVIPAvail()
{
	new var1;
	if (CanTestFeatures() && GetFeatureStatus(FeatureType:0, "IsClientVIP"))
	{
		var2 = true;
	}
	else
	{
		var2 = false;
	}
	return var2;
}

bool:xIsVIP(iId)
{
	new var1;
	if (CanTestFeatures() && GetFeatureStatus(FeatureType:0, "IsClientVIP") && IsClientVIP(iId))
	{
		var2 = true;
	}
	else
	{
		var2 = false;
	}
	return var2;
}

void:applyWeaponData(Owner, Entity, Id, bool:bByForward)
{
	static String:Class[32];
	new var1;
	if (GetEdictClassname(Entity, Class, 32) && g_Skins[Owner][Id] > 1 && StrContains(Class, "Bayonet", false) == -1 && StrContains(Class, "Knife", false) == -1)
	{
		if (bByForward)
		{
			if (RemovePlayerItem(Owner, Entity))
			{
				my_Remove(Entity);
				switch (Id)
				{
					case 60:
					{
					}
					case 61:
					{
					}
					case 63:
					{
					}
					case 64:
					{
					}
					default:
					{
					}
				}
				SDKUnhook(Owner, SDKHookType:32, OnWeaponEquip);
				Entity = GivePlayerItem(Owner, Class, 0);
				SDKHookEx(Owner, SDKHookType:32, OnWeaponEquip);
			}
		}
		if (Entity != -1)
		{
			SetEntProp(Entity, PropType:0, "m_iItemIDLow", any:-1, 4, 0);
			SetEntProp(Entity, PropType:0, "m_nFallbackPaintKit", g_Skins[Owner][Id], 4, 0);
			SetEntPropFloat(Entity, PropType:0, "m_flFallbackWear", GetWear(Owner), 0);
			SetEntProp(Entity, PropType:0, "m_nFallbackSeed", GetRandomInt(0, 8192), 4, 0);
			if (g_pStatTrakOption[Owner] == StatTrakOption:2)
			{
				SetEntProp(Entity, PropType:0, "m_nFallbackStatTrak", g_Kills[Owner], 4, 0);
			}
			else
			{
				SetEntProp(Entity, PropType:0, "m_nFallbackStatTrak", any:-1, 4, 0);
			}
			if (g_pStatTrakOption[Owner] == StatTrakOption:2)
			{
				SetEntProp(Entity, PropType:0, "m_iEntityQuality", any:9, 4, 0);
			}
			else
			{
				if (!(GetEntProp(Entity, PropType:0, "m_iEntityQuality", 4, 0) == 12))
				{
					SetEntProp(Entity, PropType:0, "m_iEntityQuality", any:0, 4, 0);
				}
			}
			new var3;
			if (!xVIPAvail() || (xVIPAvail() && xIsVIP(Owner)))
			{
				xGetUserNameTagForWeapon(Owner, Id, g_Buffer);
				if (0 < strlen(g_Buffer))
				{
					SetEntDataString(Entity, g_Offset, g_Buffer, 256, false);
				}
			}
			SetEntProp(Entity, PropType:0, "m_iAccountID", GetEntProp(Entity, PropType:0, "m_OriginalOwnerXuidLow", 4, 0), 4, 0);
			if (!bByForward)
			{
				SaveMe(Owner);
			}
		}
	}
	return void:0;
}

public void:QueryHandler_Empty(Handle:pDb, Handle:pQuery, String:Error[], any:Data)
{
	return void:0;
}

public Action:Timer_RetrieveKills(Handle:pTimer, any:_Data)
{
	new var1;
	if (IsClientInGame(_Data) && g_pDatabase)
	{
		FormatEx(g_Buffer, 4096, "SELECT kills FROM ss_players WHERE steam = '%s';", g_Steam[_Data]);
		SQL_TQuery(g_pDatabase, QueryHandler_KillsReceived, g_Buffer, _Data, DBPriority:0);
	}
	return Action:0;
}

public void:QueryHandler_KillsReceived(Handle:pOwner, Handle:pQuery, String:Error[], any:Client)
{
	new var1;
	if (pQuery && strlen(Error) < 1 && SQL_GetRowCount(pQuery) > 0)
	{
		SQL_FetchRow(pQuery);
		g_Kills[Client] = SQL_FetchInt(pQuery, 0, 0);
		FormatEx(g_Buffer, 4096, "UPDATE nf_players SET Kills = %d WHERE Steam = '%s';", g_Kills[Client], g_Steam[Client]);
		SQL_TQuery(g_pDatabase, QueryHandler_Empty, g_Buffer, Client, DBPriority:2);
	}
	return void:0;
}

public void:QueryHandler_SkinsReceived(Handle:pOwner, Handle:pQuery, String:Error[], any:Client)
{
	static Iterator;
	static String:Buffers[768][32];
	new var1;
	if (pQuery && strlen(Error) < 1)
	{
		if (0 < SQL_GetRowCount(pQuery))
		{
			SQL_FetchRow(pQuery);
			SQL_FetchString(pQuery, 0, g_Buffer, 4096, 0);
			g_Kills[Client] = SQL_FetchInt(pQuery, 1, 0);
			CreateTimer(0.1, Timer_RetrieveKills, Client, 2);
			if (strlen(g_Buffer))
			{
				Iterator = 0;
				while (Iterator < 768)
				{
					Buffers[Iterator][0] = MissingTAG:0;
					Iterator += 1;
				}
				ExplodeString(g_Buffer, ",", Buffers, 768, 32, false);
				Iterator = 0;
				while (Iterator < 768)
				{
					if (0 < strlen(Buffers[Iterator]))
					{
						g_Skins[Client][Iterator] = StringToInt(Buffers[Iterator], 10);
					}
					else
					{
						g_Skins[Client][Iterator] = 0;
					}
					Iterator += 1;
				}
			}
			else
			{
				Iterator = 0;
				while (Iterator < 768)
				{
					g_Skins[Client][Iterator] = 0;
					Iterator += 1;
				}
			}
		}
		g_Kills[Client] = 0;
		FormatEx(g_Buffer, 4096, "INSERT INTO nf_players VALUES ('%s', '', '', %d, 0);", g_Steam[Client], GetTime({0,0}));
		if (g_pDatabase)
		{
			SQL_TQuery(g_pDatabase, QueryHandler_Empty, g_Buffer, any:0, DBPriority:2);
		}
		Iterator = 0;
		while (Iterator < 768)
		{
			g_Skins[Client][Iterator] = 0;
			Iterator += 1;
		}
	}
	return void:0;
}

public void:OnPlayerDeath(Handle:pEvent, String:eventName[], bool:bNoBroadcast)
{
	static Wpn;
	static Attacker;
	static Client;
	Client = GetClientOfUserId(GetEventInt(pEvent, "userid", 0));
	if (0 < Client)
	{
		new var3;
		if (GetRandomInt(1, 10) == 1 && (!xVIPAvail() || (xVIPAvail() && xIsVIP(Client))))
		{
			PrintToChat(Client, " \x05NEW\x09  VIP★\x05  COMMAND\x0B  !NameTag");
		}
		Attacker = GetClientOfUserId(GetEventInt(pEvent, "attacker", 0));
		new var4;
		if (Attacker >= 1 && Attacker <= MaxClients && Client != Attacker && g_bIsInGame[Attacker] && StrContains("GOTV HLTV BOT SOURCETV SRCTV", g_Steam[Attacker], false) == -1)
		{
			g_Kills[Attacker]++;
			if (g_pDatabase)
			{
				FormatEx(g_Buffer, 4096, "UPDATE nf_players SET Kills = Kills + 1 WHERE Steam = '%s';", g_Steam[Attacker]);
				SQL_TQuery(g_pDatabase, QueryHandler_Empty, g_Buffer, any:0, DBPriority:1);
			}
			new var5;
			if (IsPlayerAlive(Attacker) && g_pStatTrakOption[Attacker] == StatTrakOption:2)
			{
				new var6;
				if ((Wpn = GetPlayerWeaponSlot(Attacker, 0)) != -1 && GetEntProp(Wpn, PropType:0, "m_nFallbackStatTrak", 4, 0) != -1)
				{
					SetEntProp(Wpn, PropType:0, "m_iItemIDLow", any:-1, 4, 0);
					SetEntProp(Wpn, PropType:0, "m_nFallbackStatTrak", g_Kills[Attacker], 4, 0);
					SetEntProp(Wpn, PropType:0, "m_iAccountID", GetEntProp(Wpn, PropType:0, "m_OriginalOwnerXuidLow", 4, 0), 4, 0);
				}
				new var7;
				if ((Wpn = GetPlayerWeaponSlot(Attacker, 1)) != -1 && GetEntProp(Wpn, PropType:0, "m_nFallbackStatTrak", 4, 0) != -1)
				{
					SetEntProp(Wpn, PropType:0, "m_iItemIDLow", any:-1, 4, 0);
					SetEntProp(Wpn, PropType:0, "m_nFallbackStatTrak", g_Kills[Attacker], 4, 0);
					SetEntProp(Wpn, PropType:0, "m_iAccountID", GetEntProp(Wpn, PropType:0, "m_OriginalOwnerXuidLow", 4, 0), 4, 0);
				}
				new var8;
				if ((Wpn = GetPlayerWeaponSlot(Attacker, 2)) != -1 && GetEntProp(Wpn, PropType:0, "m_nFallbackStatTrak", 4, 0) != -1)
				{
					SetEntProp(Wpn, PropType:0, "m_iItemIDLow", any:-1, 4, 0);
					SetEntProp(Wpn, PropType:0, "m_nFallbackStatTrak", g_Kills[Attacker], 4, 0);
					SetEntProp(Wpn, PropType:0, "m_iAccountID", GetEntProp(Wpn, PropType:0, "m_OriginalOwnerXuidLow", 4, 0), 4, 0);
				}
			}
		}
		new var9;
		if (!g_bMessageShown[Client] && GetRandomInt(0, 2) && g_bIsInGame[Client])
		{
			CreateTimer(GetRandomFloat(2.75, 4.25), TimerHandler_DisplayStatTrakDetails, Client, 2);
		}
	}
	return void:0;
}

public void:OnPlayerSpawn(Handle:pEvent, String:eventName[], bool:bNoBroadcast)
{
	static iTeam;
	static Client;
	Client = GetClientOfUserId(GetEventInt(pEvent, "userid", 0));
	if (0 < Client)
	{
		new var2;
		if (g_bIsInGame[Client] && IsPlayerAlive(Client) && GetEntProp(Client, PropType:0, "m_iHealth", 4, 0) > 0 && ((iTeam = GetClientTeam(Client)) == 2 || iTeam == 3) && strncmp(g_Steam[Client], "BOT", 3, false))
		{
			g_SpawnTime[Client] = GetTime({0,0});
			if (!g_pStatTrakOption[Client])
			{
				CreateTimer(GetRandomFloat(2.0, 5.0), TimerHandler_DisplayStatTrakPanel, Client, 2);
			}
			new var3;
			if (g_pKnife[Client] != Knife:-1 && g_pKnife[Client])
			{
				CreateTimer(GetRandomFloat(0.1, 0.2), Timer_Replace, Client, 2);
			}
		}
	}
	return void:0;
}

public Action:Timer_Replace(Handle:pTimer, any:_Data)
{
	new var1;
	if (g_pKnife[_Data] != Knife:-1 && g_pKnife[_Data])
	{
		replaceKnifeIfPossible(_Data, true);
	}
	return Action:0;
}

hCSGO_ClearLine(String:Line[], Times)
{
	static m_Length;
	static m_Iterator;
	m_Iterator = 0;
	m_Length = strlen(Line);
	while (m_Iterator < Times)
	{
		StripQuotes(Line);
		m_Length = TrimString(Line);
		m_Iterator += 1;
	}
	return m_Length;
}

public Action:CommandSay(Client, Args)
{
	static iWeapon = -1;
	static iSize;
	static iWeaponID;
	static iIter;
	static String:szClass[128];
	static String:Command[128];
	static String:Raw[128];
	new var1;
	if (Client > 0 && g_bIsInGame[Client])
	{
		GetCmdArgString(Raw, 128);
		if (hCSGO_PureChatCommand(Raw, Command, 128) >= 2)
		{
			new var2;
			if (strcmp(Command, "Skin", false) && strcmp(273764 + 1, "Skin", false) && strcmp(Command, "Skins", false) && strcmp(273764 + 1, "Skins", false) && strcmp(Command, "Ws", false) && strcmp(273764 + 1, "Ws", false) && strcmp(Command, "Paints", false) && strcmp(273764 + 1, "Paints", false) && strcmp(Command, "Paint", false) && strcmp(273764 + 1, "Paint", false))
			{
				if (!IsPlayerAlive(Client))
				{
					PrintToChat(Client, "* You must be\x04 Alive");
				}
				else
				{
					CreateTimer(GetRandomFloat(0.025, 0.1575), TimerHandler_DisplaySkinsMenu, Client, 2);
				}
			}
			new var3;
			if (strncmp(Command, "NameTag", 7, false) && strncmp(273764 + 1, "NameTag", 7, false))
			{
				iWeapon = -1;
				new var4;
				if (xVIPAvail() && !xIsVIP(Client))
				{
					PrintToChat(Client, " \x02YOU MUST BE\x09  VIP★");
				}
				else
				{
					if (!IsPlayerAlive(Client))
					{
						PrintToChat(Client, " \x02YOU ARE DEAD");
					}
					if ((iWeapon = GetEntPropEnt(Client, PropType:0, "m_hActiveWeapon", 0)) == -1)
					{
						PrintToChat(Client, " \x02YOU HAVE NO\x0B  ACTIVE\x02  WEAPON");
					}
					iWeaponID = GetEntProp(iWeapon, PropType:0, "m_iItemDefinitionIndex", 4, 0);
					hCSGO_ClearLine(Raw, 4);
					ReplaceString(Raw, 128, "%", "%", true);
					iIter = 0;
					while (iIter < 32)
					{
						ReplaceString(Raw, 128, "  ", " ", true);
						iIter += 1;
					}
					new String:pTokens[8][32] = {
						" ",
						"ON",
						"Knife ",
						" \x04NAME TAG FOR\x0B  %s\x07  REMOVED\x02  (NULL)",
						"(NULL)",
						"OR\x0B  %s\x07  REMOVED\x02  (NULL)",
						"ME TAG FOR\x0B  %s\x09  %s",
						"!NameTag\x05  TO REMOVE\x02  (NULL)"
					};
					iSize = ExplodeString(Raw, " ", pTokens, 8, 32, false);
					ClassById(iWeaponID, szClass, 128);
					if (strlen(szClass) < 1)
					{
						PrintToChat(Client, " \x02YOU HAVE NO\x04  VALID\x02  WEAPON");
						return Action:0;
					}
					ReplaceString(szClass, 128, "_", " ", true);
					ReplaceString(szClass, 128, "Weapon ", "", false);
					iIter = 0;
					while (strlen(szClass) > iIter)
					{
						szClass[iIter] = CharToUpper(szClass[iIter]);
						iIter += 1;
					}
					Format(szClass, 128, "`%s'", szClass);
					new var5;
					if (StrContains(szClass, "Knife ", false) != -1 && StrContains(szClass, "Knife T", false) == -1)
					{
						ReplaceString(szClass, 128, "Knife ", "", false);
					}
					if (iSize <= 1)
					{
						xSaveUserNameTagForWeapon(Client, iWeaponID, "");
						PrintToChat(Client, " \x04NAME TAG FOR\x0B  %s\x07  REMOVED\x02  (NULL)", szClass);
						CreateTimer(GetRandomFloat(0.025, 0.1575), TimerHandler_DisplaySkinsMenu, Client, 2);
					}
					else
					{
						iIter = 0;
						while (iIter < iSize)
						{
							if (iIter)
							{
								hCSGO_ClearLine(pTokens[iIter], 4);
								if (!(strlen(pTokens[iIter]) < 1))
								{
									StrCat(g_Buffer, 32, pTokens[iIter]);
									if (iSize + -1 != iIter)
									{
										StrCat(g_Buffer, 32, " ");
									}
								}
							}
							iIter += 1;
						}
						hCSGO_ClearLine(g_Buffer, 4);
						if (strlen(g_Buffer) < 1)
						{
							xSaveUserNameTagForWeapon(Client, iWeaponID, "");
							PrintToChat(Client, " \x04NAME TAG FOR\x0B  %s\x07  REMOVED\x02  (NULL)", szClass);
							CreateTimer(GetRandomFloat(0.025, 0.1575), TimerHandler_DisplaySkinsMenu, Client, 2);
						}
						xSaveUserNameTagForWeapon(Client, iWeaponID, g_Buffer);
						PrintToChat(Client, " \x04NAME TAG FOR\x0B  %s\x09  %s", szClass, g_Buffer);
						PrintToChat(Client, " \x05SAY\x07  !NameTag\x05  TO REMOVE\x02  (NULL)");
						CreateTimer(GetRandomFloat(0.025, 0.1575), TimerHandler_DisplaySkinsMenu, Client, 2);
					}
				}
			}
			new var6;
			if (strncmp(Command, "Knife", 5, false) && strncmp(273764 + 1, "Knife", 5, false) && strncmp(Command, "Knive", 5, false) && strncmp(273764 + 1, "Knive", 5, false) && strncmp(Command, "Cutit", 5, false) && strncmp(273764 + 1, "Cutit", 5, false))
			{
				if (!IsPlayerAlive(Client))
				{
					PrintToChat(Client, "* You must be\x04 Alive");
				}
				else
				{
					CreateTimer(GetRandomFloat(0.025, 0.1575), TimerHandler_DisplayKnivesMenu, Client, 2);
				}
			}
			new var7;
			if (strcmp(Command, "ST", false) && strcmp(273764 + 1, "ST", false))
			{
				g_bMessageShown[Client] = 1;
				g_pStatTrakOption[Client] = 0;
				CreateTimer(GetRandomFloat(0.025, 0.1575), TimerHandler_DisplayStatTrakPanel, Client, 2);
			}
		}
	}
	return Action:0;
}

public MenuHandler_Skins(Handle:pMenu, MenuAction:pAction, Client, Selection)
{
	static Id;
	static iInfo;
	static Weapon;
	static String:Info[32];
	static bool:bDefault;
	new var1;
	if (pAction == MenuAction:4 && g_bIsInGame[Client] && IsPlayerAlive(Client))
	{
		Weapon = GetEntPropEnt(Client, PropType:0, "m_hActiveWeapon", 0);
		if (Weapon != -1)
		{
			Id = GetEntProp(Weapon, PropType:0, "m_iItemDefinitionIndex", 4, 0);
			if (g_ItemDefinitionIndex[Client] != Id)
			{
				PrintToChat(Client, "* Have you\x07 switched\x01 the\x09 weapon\x01 yet?");
			}
			else
			{
				bDefault = false;
				GetMenuItem(pMenu, Selection, Info, 32, 0, "", 0);
				iInfo = StringToInt(Info, 10);
				switch (Id)
				{
					case 1:
					{
						if (iInfo >= 41)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_DEagleSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_DEagleSkins[iInfo]);
						}
					}
					case 2:
					{
						if (iInfo >= 33)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_DualBerettasSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_DualBerettasSkins[iInfo]);
						}
					}
					case 3:
					{
						if (iInfo >= 30)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_FiveSeveNSKinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_FiveSeveNSKins[iInfo]);
						}
					}
					case 4:
					{
						if (iInfo >= 37)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_Glock18SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_Glock18Skins[iInfo]);
						}
					}
					case 7:
					{
						if (iInfo >= 46)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_Ak47SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_Ak47Skins[iInfo]);
						}
					}
					case 8:
					{
						if (iInfo >= 33)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_AugSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_AugSkins[iInfo]);
						}
					}
					case 9:
					{
						if (iInfo >= 44)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_AwpSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_AwpSkins[iInfo]);
						}
					}
					case 10:
					{
						if (iInfo >= 39)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_FamasSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_FamasSkins[iInfo]);
						}
					}
					case 11:
					{
						if (iInfo >= 32)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_G3SG1SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_G3SG1Skins[iInfo]);
						}
					}
					case 13:
					{
						if (iInfo >= 40)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_GalilARSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_GalilARSkins[iInfo]);
						}
					}
					case 14:
					{
						if (iInfo >= 24)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_M249SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_M249Skins[iInfo]);
						}
					}
					case 16:
					{
						if (iInfo >= 44)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_M4A4SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_M4A4Skins[iInfo]);
						}
					}
					case 17:
					{
						if (iInfo >= 37)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_Mac10SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_Mac10Skins[iInfo]);
						}
					}
					case 19:
					{
						if (iInfo >= 42)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_P90SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_P90Skins[iInfo]);
						}
					}
					case 24:
					{
						if (iInfo >= 39)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_Ump45SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_Ump45Skins[iInfo]);
						}
					}
					case 25:
					{
						if (iInfo >= 35)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_XM1014SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_XM1014Skins[iInfo]);
						}
					}
					case 26:
					{
						if (iInfo >= 35)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_PPBizonSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_PPBizonSkins[iInfo]);
						}
					}
					case 27:
					{
						if (iInfo >= 32)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_Mag7SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_Mag7Skins[iInfo]);
						}
					}
					case 28:
					{
						if (iInfo >= 30)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_NegevSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_NegevSkins[iInfo]);
						}
					}
					case 29:
					{
						if (iInfo >= 37)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_SawedOffSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_SawedOffSkins[iInfo]);
						}
					}
					case 30:
					{
						if (iInfo >= 37)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_Tec9SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_Tec9Skins[iInfo]);
						}
					}
					case 32:
					{
						if (iInfo >= 33)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_P2000SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_P2000Skins[iInfo]);
						}
					}
					case 33:
					{
						if (iInfo >= 34)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_Mp7SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_Mp7Skins[iInfo]);
						}
					}
					case 34:
					{
						if (iInfo >= 39)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_Mp9SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_Mp9Skins[iInfo]);
						}
					}
					case 35:
					{
						if (iInfo >= 37)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_NovaSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_NovaSkins[iInfo]);
						}
					}
					case 36:
					{
						if (iInfo >= 36)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_P250SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_P250Skins[iInfo]);
						}
					}
					case 38:
					{
						if (iInfo >= 31)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_Scar20SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_Scar20Skins[iInfo]);
						}
					}
					case 39:
					{
						if (iInfo >= 33)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_SG553SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_SG553Skins[iInfo]);
						}
					}
					case 40:
					{
						if (iInfo >= 32)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_SSG08SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_SSG08Skins[iInfo]);
						}
					}
					case 60:
					{
						if (iInfo >= 39)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_M4A1SkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_M4A1Skins[iInfo]);
						}
					}
					case 61:
					{
						if (iInfo >= 40)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_UspSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_UspSkins[iInfo]);
						}
					}
					case 63:
					{
						if (iInfo >= 37)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_CZ75AutoSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_CZ75AutoSkins[iInfo]);
						}
					}
					case 64:
					{
						if (iInfo >= 27)
						{
							bDefault = true;
							PrintToChat(Client, "*\x07 Invalid\x01 selection!");
						}
						else
						{
							g_Skins[Client][Id] = g_RevolverSkinIds[iInfo];
							PrintToChat(Client, "* You selected\x05 %s", g_RevolverSkins[iInfo]);
						}
					}
					default:
					{
						PrintToChat(Client, "* You selected\x09 Default");
						bDefault = true;
					}
				}
				new var2;
				if (!bDefault && g_bIsInRound)
				{
					switch (Id)
					{
						case 1:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_deagle", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 2:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_elite", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 3:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_fiveseven", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 4:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_glock", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 7:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_ak47", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 8:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_aug", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 9:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_awp", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 10:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_famas", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 11:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_g3sg1", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 13:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_galilar", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 14:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_m249", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 16:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_m4a1", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 17:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_mac10", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 19:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_p90", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 24:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_ump45", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 25:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_xm1014", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 26:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_bizon", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 27:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_mag7", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 28:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_negev", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 29:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_sawedoff", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 30:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_tec9", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 32:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_hkp2000", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 33:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_mp7", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 34:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_mp9", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 35:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_nova", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 36:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_p250", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 38:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_scar20", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 39:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_sg556", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 40:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_ssg08", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 60:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_m4a1_silencer", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 61:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_usp_silencer", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 63:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_cz75a", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						case 64:
						{
							if (RemovePlayerItem(Client, Weapon))
							{
								my_Remove(Weapon);
								if ((Weapon = GivePlayerItem(Client, "weapon_revolver", 0)) != -1)
								{
									applyWeaponData(Client, Weapon, Id, false);
								}
							}
						}
						default:
						{
						}
					}
				}
			}
		}
		else
		{
			PrintToChat(Client, "* You must have an\x05 Active\x09 Weapon");
		}
	}
	else
	{
		new var3;
		if (pAction == MenuAction:16 && pMenu)
		{
			CloseHandle(pMenu);
			pMenu = MissingTAG:0;
		}
	}
	return 0;
}

public PanelHandler_StatTrakTech(Handle:pPanel, MenuAction:pAction, Client, Selection)
{
	new var1;
	if (pAction == MenuAction:4 && g_bIsInGame[Client])
	{
		switch (Selection)
		{
			case 1:
			{
				g_bMessageShown[Client] = 1;
				g_pStatTrakOption[Client] = 2;
				SetClientCookie(Client, g_pStatTrakOptionCookie, "2");
				PrintToChat(Client, ">>\x04 StatTrak™\x01 Technology\x05 ENABLED");
			}
			case 2:
			{
				g_bMessageShown[Client] = 1;
				g_pStatTrakOption[Client] = 1;
				SetClientCookie(Client, g_pStatTrakOptionCookie, "1");
				PrintToChat(Client, ">>\x04 StatTrak™\x01 Technology\x07 DISABLED");
			}
			default:
			{
			}
		}
	}
	else
	{
		new var2;
		if (pAction == MenuAction:16 && pPanel)
		{
			CloseHandle(pPanel);
			pPanel = MissingTAG:0;
		}
	}
	return 0;
}

public Action:TimerHandler_DisplayStatTrakPanel(Handle:pTimer, any:Client)
{
	static Handle:pPanel;
	new var1;
	if (g_bIsInGame[Client] && g_pStatTrakOption[Client])
	{
		pPanel = CreatePanel(Handle:0);
		if (pPanel)
		{
			SetPanelTitle(pPanel, "Use StatTrak™ Technology?", false);
			SetPanelKeys(pPanel, 3);
			DrawPanelText(pPanel, "");
			DrawPanelText(pPanel, "1. Yes");
			DrawPanelText(pPanel, "2. No");
			new var2;
			if (!IsFakeClient(Client) && !IsClientSourceTV(Client))
			{
				SendPanelToClient(pPanel, Client, PanelHandler_StatTrakTech, 0);
			}
			CloseHandle(pPanel);
			pPanel = MissingTAG:0;
		}
	}
	return Action:0;
}

public Action:TimerHandler_DisplayKnivesMenu(Handle:pTimer, any:Client)
{
	static Handle:pMenu;
	new var1;
	if (g_bIsInGame[Client] && !IsFakeClient(Client) && !IsClientSourceTV(Client))
	{
		pMenu = CreateMenu(MenuHandler_Knives, MenuAction:28);
		if (pMenu)
		{
			SetMenuTitle(pMenu, "★ KNIVES MENU ★");
			AddMenuItem(pMenu, "1", "Default (NO CHANGE)", 0);
			AddMenuItem(pMenu, "2", "★ Ursus", 0);
			AddMenuItem(pMenu, "3", "★ Stiletto", 0);
			AddMenuItem(pMenu, "4", "★ Navaja", 0);
			AddMenuItem(pMenu, "5", "★ Talon", 0);
			AddMenuItem(pMenu, "6", "★ Bowie (SURViVAL)", 0);
			AddMenuItem(pMenu, "7", "★ Shadow Daggers (PUSH)", 0);
			AddMenuItem(pMenu, "8", "★ M9 Bayonet", 0);
			AddMenuItem(pMenu, "9", "★ Karambit", 0);
			AddMenuItem(pMenu, "10", "★ Bayonet", 0);
			AddMenuItem(pMenu, "11", "★ Huntsman (TACTiCAL)", 0);
			AddMenuItem(pMenu, "12", "★ Butterfly", 0);
			AddMenuItem(pMenu, "13", "★ Gut", 0);
			AddMenuItem(pMenu, "14", "★ Flip", 0);
			AddMenuItem(pMenu, "15", "★ Falchion", 0);
			DisplayMenu(pMenu, Client, 0);
		}
	}
	return Action:0;
}

public MenuHandler_KnifeSkins(Handle:pMenu, MenuAction:pAction, Client, Skin)
{
	static String:Info[4];
	static String:Option[4];
	new var1;
	if (pAction == MenuAction:4 && g_bIsInGame[Client])
	{
		GetMenuItem(pMenu, Skin, Info, 4, 0, "", 0);
		switch (StringToInt(Info, 10))
		{
			case -1:
			{
				g_pKnifeSkin[Client] = -1;
				IntToString(-1, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x05 » RANDOM «");
				replaceKnifeIfPossible(Client, false);
			}
			case 0:
			{
				g_pKnifeSkin[Client] = 0;
				IntToString(0, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x09 » DEFAULT «");
				replaceKnifeIfPossible(Client, false);
			}
			case 5:
			{
				g_pKnifeSkin[Client] = 5;
				IntToString(5, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Forest DDPAT");
				replaceKnifeIfPossible(Client, false);
			}
			case 12:
			{
				g_pKnifeSkin[Client] = 12;
				IntToString(12, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Crimson Web");
				replaceKnifeIfPossible(Client, false);
			}
			case 38:
			{
				g_pKnifeSkin[Client] = 38;
				IntToString(38, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Fade");
				replaceKnifeIfPossible(Client, false);
			}
			case 40:
			{
				g_pKnifeSkin[Client] = 40;
				IntToString(40, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Night");
				replaceKnifeIfPossible(Client, false);
			}
			case 42:
			{
				g_pKnifeSkin[Client] = 42;
				IntToString(42, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Blue Steel");
				replaceKnifeIfPossible(Client, false);
			}
			case 43:
			{
				g_pKnifeSkin[Client] = 43;
				IntToString(43, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Stained");
				replaceKnifeIfPossible(Client, false);
			}
			case 44:
			{
				g_pKnifeSkin[Client] = 44;
				IntToString(44, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Case Hardened");
				replaceKnifeIfPossible(Client, false);
			}
			case 59:
			{
				g_pKnifeSkin[Client] = 59;
				IntToString(59, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Slaughter");
				replaceKnifeIfPossible(Client, false);
			}
			case 72:
			{
				g_pKnifeSkin[Client] = 72;
				IntToString(72, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Safari Mesh");
				replaceKnifeIfPossible(Client, false);
			}
			case 77:
			{
				g_pKnifeSkin[Client] = 77;
				IntToString(77, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Boreal Forest");
				replaceKnifeIfPossible(Client, false);
			}
			case 98:
			{
				g_pKnifeSkin[Client] = 98;
				IntToString(98, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Ultraviolet");
				replaceKnifeIfPossible(Client, false);
			}
			case 143:
			{
				g_pKnifeSkin[Client] = 143;
				IntToString(143, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Urban Masked");
				replaceKnifeIfPossible(Client, false);
			}
			case 175:
			{
				g_pKnifeSkin[Client] = 175;
				IntToString(175, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Scorched");
				replaceKnifeIfPossible(Client, false);
			}
			case 232:
			{
				g_pKnifeSkin[Client] = 232;
				IntToString(232, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Crimson Web (Darker)");
				replaceKnifeIfPossible(Client, false);
			}
			case 409:
			{
				g_pKnifeSkin[Client] = 409;
				IntToString(409, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Tiger Tooth");
				replaceKnifeIfPossible(Client, false);
			}
			case 410:
			{
				g_pKnifeSkin[Client] = 410;
				IntToString(410, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				if (g_pKnife[Client] == Knife:3)
				{
					g_pKnifeSkin[Client] = 411;
					IntToString(411, Option, 4);
					SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				}
				PrintToChat(Client, "* You selected\x07 Damascus Steel");
				replaceKnifeIfPossible(Client, false);
			}
			case 411:
			{
				g_pKnifeSkin[Client] = 411;
				IntToString(411, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 3;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 M9 Bayonet* Damascus Steel");
				replaceKnifeIfPossible(Client, false);
			}
			case 413:
			{
				g_pKnifeSkin[Client] = 413;
				IntToString(413, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Marble Fade");
				replaceKnifeIfPossible(Client, false);
			}
			case 414:
			{
				g_pKnifeSkin[Client] = 414;
				IntToString(414, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Rust Coat");
				replaceKnifeIfPossible(Client, false);
			}
			case 415:
			{
				g_pKnifeSkin[Client] = 415;
				IntToString(415, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Doppler (Ruby)");
				replaceKnifeIfPossible(Client, false);
			}
			case 416:
			{
				g_pKnifeSkin[Client] = 416;
				IntToString(416, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Doppler (Sapphire)");
				replaceKnifeIfPossible(Client, false);
			}
			case 417:
			{
				g_pKnifeSkin[Client] = 417;
				IntToString(417, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Doppler (Blackpearl)");
				replaceKnifeIfPossible(Client, false);
			}
			case 418:
			{
				g_pKnifeSkin[Client] = 418;
				IntToString(418, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Dopple Phase #1");
				replaceKnifeIfPossible(Client, false);
			}
			case 419:
			{
				g_pKnifeSkin[Client] = 419;
				IntToString(419, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Dopple Phase #2");
				replaceKnifeIfPossible(Client, false);
			}
			case 420:
			{
				g_pKnifeSkin[Client] = 420;
				IntToString(420, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Dopple Phase #3");
				replaceKnifeIfPossible(Client, false);
			}
			case 421:
			{
				g_pKnifeSkin[Client] = 421;
				IntToString(421, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 Dopple Phase #4");
				replaceKnifeIfPossible(Client, false);
			}
			case 519:
			{
				g_pKnifeSkin[Client] = 519;
				IntToString(519, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 11;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Ursus");
				replaceKnifeIfPossible(Client, false);
			}
			case 520:
			{
				g_pKnifeSkin[Client] = 520;
				IntToString(520, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 13;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Navaja");
				replaceKnifeIfPossible(Client, false);
			}
			case 522:
			{
				g_pKnifeSkin[Client] = 522;
				IntToString(522, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 12;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Stiletto");
				replaceKnifeIfPossible(Client, false);
			}
			case 523:
			{
				g_pKnifeSkin[Client] = 523;
				IntToString(523, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 14;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Talon");
				replaceKnifeIfPossible(Client, false);
			}
			case 558:
			{
				g_pKnifeSkin[Client] = 558;
				IntToString(558, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 4;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Bayonet* Lore");
				replaceKnifeIfPossible(Client, false);
			}
			case 559:
			{
				g_pKnifeSkin[Client] = 559;
				IntToString(559, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 9;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Flip* Lore");
				replaceKnifeIfPossible(Client, false);
			}
			case 560:
			{
				g_pKnifeSkin[Client] = 560;
				IntToString(560, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 8;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Gut* Lore");
				replaceKnifeIfPossible(Client, false);
			}
			case 561:
			{
				g_pKnifeSkin[Client] = 561;
				IntToString(561, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 1;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Karambit* Lore");
				replaceKnifeIfPossible(Client, false);
			}
			case 562:
			{
				g_pKnifeSkin[Client] = 562;
				IntToString(562, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 3;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 M9 Bayonet* Lore");
				replaceKnifeIfPossible(Client, false);
			}
			case 563:
			{
				g_pKnifeSkin[Client] = 563;
				IntToString(563, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 4;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Bayonet* Black Laminate");
				replaceKnifeIfPossible(Client, false);
			}
			case 564:
			{
				g_pKnifeSkin[Client] = 564;
				IntToString(564, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 9;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Flip* Black Laminate");
				replaceKnifeIfPossible(Client, false);
			}
			case 565:
			{
				g_pKnifeSkin[Client] = 565;
				IntToString(565, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 8;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Gut* Black Laminate");
				replaceKnifeIfPossible(Client, false);
			}
			case 566:
			{
				g_pKnifeSkin[Client] = 566;
				IntToString(566, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 1;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Karambit* Black Laminate");
				replaceKnifeIfPossible(Client, false);
			}
			case 567:
			{
				g_pKnifeSkin[Client] = 567;
				IntToString(567, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 3;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 M9 Bayonet* Black Laminate");
				replaceKnifeIfPossible(Client, false);
			}
			case 568:
			{
				g_pKnifeSkin[Client] = 568;
				IntToString(568, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 G. Doppler (Emerald)");
				replaceKnifeIfPossible(Client, false);
			}
			case 569:
			{
				g_pKnifeSkin[Client] = 569;
				IntToString(569, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 G. Doppler Phase #1");
				replaceKnifeIfPossible(Client, false);
			}
			case 570:
			{
				g_pKnifeSkin[Client] = 570;
				IntToString(570, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 G. Doppler Phase #2");
				replaceKnifeIfPossible(Client, false);
			}
			case 571:
			{
				g_pKnifeSkin[Client] = 571;
				IntToString(571, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 G. Doppler Phase #3");
				replaceKnifeIfPossible(Client, false);
			}
			case 572:
			{
				g_pKnifeSkin[Client] = 572;
				IntToString(572, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				PrintToChat(Client, "* You selected\x07 G. Doppler Phase #4");
				replaceKnifeIfPossible(Client, false);
			}
			case 573:
			{
				g_pKnifeSkin[Client] = 573;
				IntToString(573, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 4;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Bayonet* Autotronic");
				replaceKnifeIfPossible(Client, false);
			}
			case 574:
			{
				g_pKnifeSkin[Client] = 574;
				IntToString(574, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 9;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Flip* Autotronic");
				replaceKnifeIfPossible(Client, false);
			}
			case 575:
			{
				g_pKnifeSkin[Client] = 575;
				IntToString(575, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 8;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Gut* Autotronic");
				replaceKnifeIfPossible(Client, false);
			}
			case 576:
			{
				g_pKnifeSkin[Client] = 576;
				IntToString(576, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 1;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Karambit* Autotronic");
				replaceKnifeIfPossible(Client, false);
			}
			case 577:
			{
				g_pKnifeSkin[Client] = 577;
				IntToString(577, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 3;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 M9 Bayonet* Autotronic");
				replaceKnifeIfPossible(Client, false);
			}
			case 578:
			{
				g_pKnifeSkin[Client] = 578;
				IntToString(578, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				if (g_pKnife[Client] == Knife:3)
				{
					g_pKnifeSkin[Client] = 579;
					IntToString(579, Option, 4);
					SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				}
				PrintToChat(Client, "* You selected\x07 Bright Water");
				replaceKnifeIfPossible(Client, false);
			}
			case 579:
			{
				g_pKnifeSkin[Client] = 579;
				IntToString(579, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 3;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 M9 Bayonet* Bright Water");
				replaceKnifeIfPossible(Client, false);
			}
			case 580:
			{
				g_pKnifeSkin[Client] = 580;
				IntToString(580, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				if (g_pKnife[Client] == Knife:3)
				{
					g_pKnifeSkin[Client] = 581;
					IntToString(581, Option, 4);
					SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				}
				if (g_pKnife[Client] == Knife:1)
				{
					g_pKnifeSkin[Client] = 582;
					IntToString(582, Option, 4);
					SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				}
				PrintToChat(Client, "* You selected\x07 Freehand");
				replaceKnifeIfPossible(Client, false);
			}
			case 581:
			{
				g_pKnifeSkin[Client] = 581;
				IntToString(581, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 3;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 M9 Bayonet* Freehand");
				replaceKnifeIfPossible(Client, false);
			}
			case 582:
			{
				g_pKnifeSkin[Client] = 582;
				IntToString(582, Option, 4);
				SetClientCookie(Client, g_pKnifeSkinCookie, Option);
				g_pKnife[Client] = 1;
				IntToString(g_pKnife[Client], Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 Karambit* Freehand");
				replaceKnifeIfPossible(Client, false);
			}
			default:
			{
			}
		}
	}
	else
	{
		new var2;
		if (pAction == MenuAction:16 && pMenu)
		{
			CloseHandle(pMenu);
			pMenu = MissingTAG:0;
		}
	}
	return 0;
}

public MenuHandler_Knives(Handle:pMenu, MenuAction:pAction, Client, Knife)
{
	static String:Info[4];
	static String:Option[4];
	new var1;
	if (pAction == MenuAction:4 && g_bIsInGame[Client])
	{
		GetMenuItem(pMenu, Knife, Info, 4, 0, "", 0);
		switch (StringToInt(Info, 10))
		{
			case 1:
			{
				g_pKnife[Client] = 0;
				IntToString(0, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x09 Default\x05 (NO CHANGE)");
				replaceKnifeIfPossible(Client, false);
			}
			case 2:
			{
				g_pKnife[Client] = 11;
				IntToString(11, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Ursus\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 3:
			{
				g_pKnife[Client] = 12;
				IntToString(12, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Stiletto\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 4:
			{
				g_pKnife[Client] = 13;
				IntToString(13, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Navaja\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 5:
			{
				g_pKnife[Client] = 14;
				IntToString(14, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Talon\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 6:
			{
				g_pKnife[Client] = 10;
				IntToString(10, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Bowie (SURViVAL)\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 7:
			{
				g_pKnife[Client] = 6;
				IntToString(6, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Shadow Daggers\x05 (PUSH)\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 8:
			{
				g_pKnife[Client] = 3;
				IntToString(3, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ M9 Bayonet\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 9:
			{
				g_pKnife[Client] = 1;
				IntToString(1, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Karambit\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 10:
			{
				g_pKnife[Client] = 4;
				IntToString(4, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Bayonet\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 11:
			{
				g_pKnife[Client] = 5;
				IntToString(5, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Huntsman\x05 (TACTiCAL)\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 12:
			{
				g_pKnife[Client] = 2;
				IntToString(2, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Butterfly\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 13:
			{
				g_pKnife[Client] = 8;
				IntToString(8, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Gut\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 14:
			{
				g_pKnife[Client] = 9;
				IntToString(9, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Flip\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			case 15:
			{
				g_pKnife[Client] = 7;
				IntToString(7, Option, 4);
				SetClientCookie(Client, g_pKnifeCookie, Option);
				PrintToChat(Client, "* You selected\x07 ★ Falchion\x01. You can also type\x04 WS\x01 now.");
				replaceKnifeIfPossible(Client, false);
			}
			default:
			{
			}
		}
	}
	else
	{
		new var2;
		if (pAction == MenuAction:16 && pMenu)
		{
			CloseHandle(pMenu);
			pMenu = MissingTAG:0;
		}
	}
	return 0;
}

public __EquipKnife(Handle:pPlugin, iParams)
{
	static Id;
	static Entity;
	static iId = -1;
	static String:Class[32];
	iId = GetNativeCell(1);
	new var1;
	if (IsClientInGame(iId) && IsPlayerAlive(iId))
	{
		if (g_iFakeClient != -1)
		{
			KnifeClassByOption(iId, Class, 32);
			new var2;
			if (g_pKnife[iId] == Knife:-1 || g_pKnife[iId])
			{
				var3 = iId;
			}
			else
			{
				var3 = g_iFakeClient;
			}
			Entity = GivePlayerItem(var3, Class, 0);
			if (Entity != -1)
			{
				Id = IDIByClass(Class);
				new var4;
				if (g_pKnife[iId] != Knife:-1 && g_pKnife[iId])
				{
					SetEntProp(Entity, PropType:0, "m_iItemDefinitionIndex", Id, 4, 0);
				}
				applyKnifeData(iId, Entity, Id);
				EquipPlayerWeapon(iId, Entity);
			}
		}
	}
	return 0;
}

public Action:Timer_ReplaceKnife(Handle:pTimer, any:_Data)
{
	static iId = -1;
	static bool:bSkipInRound;
	ResetPack(_Data, false);
	iId = ReadPackCell(_Data);
	new var1;
	if (ReadPackCell(_Data))
	{
		var1 = 1;
	}
	else
	{
		var1 = 0;
	}
	bSkipInRound = var1;
	CloseHandle(_Data);
	_Data = MissingTAG:0;
	replaceKnifeIfPossible(iId, bSkipInRound);
	return Action:0;
}

void:replaceKnifeIfPossible(Client, bool:bSkipInRound)
{
	static String:Class[32];
	static Id;
	static Tries;
	static Entity;
	static Float:fGameTime;
	static Handle:pData;
	new var1;
	if ((bSkipInRound && g_bIsInRound) && (Client >= 1 && Client <= MaxClients && IsClientInGame(Client) && IsPlayerAlive(Client)))
	{
		fGameTime = GetEngineTime();
		if (fGameTime - g_fDelay < 0.075)
		{
			pData = CreateDataPack();
			if (pData)
			{
				WritePackCell(pData, Client);
				new var3;
				if (bSkipInRound)
				{
					var3 = MissingTAG:1;
				}
				else
				{
					var3 = MissingTAG:0;
				}
				WritePackCell(pData, var3);
				CreateTimer(GetRandomFloat(0.05, 0.075), Timer_ReplaceKnife, pData, 0);
			}
		}
		Entity = -1;
		Tries = 0;
		while ((Entity = GetPlayerWeaponSlot(Client, 2)) != -1)
		{
			new var5;
			if (GetEdictClassname(Entity, Class, 32) && (StrContains(Class, "Knife", false) == -1 && StrContains(Class, "Bayonet", false) == -1))
			{
				if (RemovePlayerItem(Client, Entity))
				{
					my_Remove(Entity);
					if (g_iFakeClient != -1)
					{
						KnifeClassByOption(Client, Class, 32);
						new var6;
						if (g_pKnife[Client] == Knife:-1 || g_pKnife[Client])
						{
							var7 = Client;
						}
						else
						{
							var7 = g_iFakeClient;
						}
						Entity = GivePlayerItem(var7, Class, 0);
						if (Entity != -1)
						{
							Id = IDIByClass(Class);
							new var8;
							if (g_pKnife[Client] != Knife:-1 && g_pKnife[Client])
							{
								SetEntProp(Entity, PropType:0, "m_iItemDefinitionIndex", Id, 4, 0);
							}
							applyKnifeData(Client, Entity, Id);
							EquipPlayerWeapon(Client, Entity);
						}
					}
				}
				SaveMe(Client);
				g_fDelay = fGameTime;
			}
			Tries += 1;
			if (Tries >= 4)
			{
				SaveMe(Client);
				g_fDelay = fGameTime;
			}
		}
		SaveMe(Client);
		g_fDelay = fGameTime;
	}
	return void:0;
}

public Action:TimerHandler_DisplaySkinsMenu(Handle:pTimer, any:Client)
{
	static Handle:pMenu;
	static Iter;
	static Id;
	static WeaponId;
	static String:Class[32];
	static String:Info[8];
	static String:Buffer[256];
	new var1;
	if (g_bIsInGame[Client] && !IsFakeClient(Client) && !IsClientSourceTV(Client))
	{
		if (IsPlayerAlive(Client))
		{
			WeaponId = GetEntPropEnt(Client, PropType:0, "m_hActiveWeapon", 0);
		}
		else
		{
			WeaponId = -1;
		}
		if (g_pKnifeSkin[Client] == KnifeSkin:-2)
		{
			PrintToChat(Client, "* FiRST, PiCK UP A\x07 KNiFE\x05 PAiNT KiT\x09 OPTiON");
			pMenu = CreateMenu(MenuHandler_KnifeSkins, MenuAction:28);
			if (pMenu)
			{
				SetMenuTitle(pMenu, "★ SELECT KNiFE SKiN ★");
				AddMenuItem(pMenu, "-1", "» RANDOM «", 0);
				AddMenuItem(pMenu, "0", "» DEFAULT «", 0);
				AddMenuItem(pMenu, "519", "Ursus", 0);
				AddMenuItem(pMenu, "522", "Stiletto", 0);
				AddMenuItem(pMenu, "520", "Navaja", 0);
				AddMenuItem(pMenu, "523", "Talon", 0);
				AddMenuItem(pMenu, "411", "M9 Bayonet* Damascus Steel", 0);
				AddMenuItem(pMenu, "562", "M9 Bayonet* Lore", 0);
				AddMenuItem(pMenu, "567", "M9 Bayonet* Black Laminate", 0);
				AddMenuItem(pMenu, "577", "M9 Bayonet* Autotronic", 0);
				AddMenuItem(pMenu, "579", "M9 Bayonet* Bright Water", 0);
				AddMenuItem(pMenu, "581", "M9 Bayonet* Freehand", 0);
				AddMenuItem(pMenu, "558", "Bayonet* Lore", 0);
				AddMenuItem(pMenu, "563", "Bayonet* Black Laminate", 0);
				AddMenuItem(pMenu, "573", "Bayonet* Autotronic", 0);
				AddMenuItem(pMenu, "559", "Flip* Lore", 0);
				AddMenuItem(pMenu, "564", "Flip* Black Laminate", 0);
				AddMenuItem(pMenu, "574", "Flip* Autotronic", 0);
				AddMenuItem(pMenu, "560", "Gut* Lore", 0);
				AddMenuItem(pMenu, "565", "Gut* Black Laminate", 0);
				AddMenuItem(pMenu, "575", "Gut* Autotronic", 0);
				AddMenuItem(pMenu, "561", "Karambit* Lore", 0);
				AddMenuItem(pMenu, "566", "Karambit* Black Laminate", 0);
				AddMenuItem(pMenu, "576", "Karambit* Autotronic", 0);
				AddMenuItem(pMenu, "582", "Karambit* Freehand", 0);
				AddMenuItem(pMenu, "580", "Any* Freehand", 0);
				AddMenuItem(pMenu, "578", "Any* Bright Water", 0);
				AddMenuItem(pMenu, "569", "Any* G. Doppler Phase #1", 0);
				AddMenuItem(pMenu, "570", "Any* G. Doppler Phase #2", 0);
				AddMenuItem(pMenu, "571", "Any* G. Doppler Phase #3", 0);
				AddMenuItem(pMenu, "572", "Any* G. Doppler Phase #4", 0);
				AddMenuItem(pMenu, "568", "Any* G. Doppler (Emerald)", 0);
				AddMenuItem(pMenu, "418", "Any* Doppler Phase #1", 0);
				AddMenuItem(pMenu, "419", "Any* Doppler Phase #2", 0);
				AddMenuItem(pMenu, "420", "Any* Doppler Phase #3", 0);
				AddMenuItem(pMenu, "421", "Any* Doppler Phase #4", 0);
				AddMenuItem(pMenu, "415", "Any* Doppler (Ruby)", 0);
				AddMenuItem(pMenu, "416", "Any* Doppler (Sapphire)", 0);
				AddMenuItem(pMenu, "417", "Any* Doppler (Blackpearl)", 0);
				AddMenuItem(pMenu, "38", "Any* Fade", 0);
				AddMenuItem(pMenu, "413", "Any* Marble Fade", 0);
				AddMenuItem(pMenu, "44", "Any* Case Hardened", 0);
				AddMenuItem(pMenu, "59", "Any* Slaughter", 0);
				AddMenuItem(pMenu, "12", "Any* Crimson Web", 0);
				AddMenuItem(pMenu, "232", "Any* Crimson Web (Darker)", 0);
				AddMenuItem(pMenu, "98", "Any* Ultraviolet", 0);
				AddMenuItem(pMenu, "40", "Any* Night", 0);
				AddMenuItem(pMenu, "5", "Any* Forest DDPAT", 0);
				AddMenuItem(pMenu, "77", "Any* Boreal Forest", 0);
				AddMenuItem(pMenu, "42", "Any* Blue Steel", 0);
				AddMenuItem(pMenu, "410", "Any* Damascus Steel", 0);
				AddMenuItem(pMenu, "43", "Any* Stained", 0);
				AddMenuItem(pMenu, "72", "Any* Safari Mesh", 0);
				AddMenuItem(pMenu, "143", "Any* Urban Masked", 0);
				AddMenuItem(pMenu, "175", "Any* Scorched", 0);
				AddMenuItem(pMenu, "414", "Any* Rust Coat", 0);
				AddMenuItem(pMenu, "409", "Any* Tiger Tooth", 0);
				DisplayMenu(pMenu, Client, 0);
			}
		}
		new var3;
		if (WeaponId != -1 && GetEdictClassname(WeaponId, Class, 32) && (StrContains(Class, "Knife", false) == -1 && StrContains(Class, "Bayonet", false) == -1))
		{
			pMenu = CreateMenu(MenuHandler_KnifeSkins, MenuAction:28);
			if (g_pKnife[Client] == Knife:-1)
			{
				if (pMenu)
				{
					SetMenuTitle(pMenu, "★ SELECT KNiFE SKiN ★");
					AddMenuItem(pMenu, "-1", "» RANDOM «", 0);
					AddMenuItem(pMenu, "0", "» DEFAULT «", 0);
					AddMenuItem(pMenu, "519", "Ursus", 0);
					AddMenuItem(pMenu, "522", "Stiletto", 0);
					AddMenuItem(pMenu, "520", "Navaja", 0);
					AddMenuItem(pMenu, "523", "Talon", 0);
					AddMenuItem(pMenu, "411", "M9 Bayonet* Damascus Steel", 0);
					AddMenuItem(pMenu, "562", "M9 Bayonet* Lore", 0);
					AddMenuItem(pMenu, "567", "M9 Bayonet* Black Laminate", 0);
					AddMenuItem(pMenu, "577", "M9 Bayonet* Autotronic", 0);
					AddMenuItem(pMenu, "579", "M9 Bayonet* Bright Water", 0);
					AddMenuItem(pMenu, "581", "M9 Bayonet* Freehand", 0);
					AddMenuItem(pMenu, "558", "Bayonet* Lore", 0);
					AddMenuItem(pMenu, "563", "Bayonet* Black Laminate", 0);
					AddMenuItem(pMenu, "573", "Bayonet* Autotronic", 0);
					AddMenuItem(pMenu, "559", "Flip* Lore", 0);
					AddMenuItem(pMenu, "564", "Flip* Black Laminate", 0);
					AddMenuItem(pMenu, "574", "Flip* Autotronic", 0);
					AddMenuItem(pMenu, "560", "Gut* Lore", 0);
					AddMenuItem(pMenu, "565", "Gut* Black Laminate", 0);
					AddMenuItem(pMenu, "575", "Gut* Autotronic", 0);
					AddMenuItem(pMenu, "561", "Karambit* Lore", 0);
					AddMenuItem(pMenu, "566", "Karambit* Black Laminate", 0);
					AddMenuItem(pMenu, "576", "Karambit* Autotronic", 0);
					AddMenuItem(pMenu, "582", "Karambit* Freehand", 0);
					AddMenuItem(pMenu, "580", "Any* Freehand", 0);
					AddMenuItem(pMenu, "578", "Any* Bright Water", 0);
					AddMenuItem(pMenu, "569", "Any* G. Doppler Phase #1", 0);
					AddMenuItem(pMenu, "570", "Any* G. Doppler Phase #2", 0);
					AddMenuItem(pMenu, "571", "Any* G. Doppler Phase #3", 0);
					AddMenuItem(pMenu, "572", "Any* G. Doppler Phase #4", 0);
					AddMenuItem(pMenu, "568", "Any* G. Doppler (Emerald)", 0);
					AddMenuItem(pMenu, "418", "Any* Doppler Phase #1", 0);
					AddMenuItem(pMenu, "419", "Any* Doppler Phase #2", 0);
					AddMenuItem(pMenu, "420", "Any* Doppler Phase #3", 0);
					AddMenuItem(pMenu, "421", "Any* Doppler Phase #4", 0);
					AddMenuItem(pMenu, "415", "Any* Doppler (Ruby)", 0);
					AddMenuItem(pMenu, "416", "Any* Doppler (Sapphire)", 0);
					AddMenuItem(pMenu, "417", "Any* Doppler (Blackpearl)", 0);
					AddMenuItem(pMenu, "38", "Any* Fade", 0);
					AddMenuItem(pMenu, "413", "Any* Marble Fade", 0);
					AddMenuItem(pMenu, "44", "Any* Case Hardened", 0);
					AddMenuItem(pMenu, "59", "Any* Slaughter", 0);
					AddMenuItem(pMenu, "12", "Any* Crimson Web", 0);
					AddMenuItem(pMenu, "232", "Any* Crimson Web (Darker)", 0);
					AddMenuItem(pMenu, "98", "Any* Ultraviolet", 0);
					AddMenuItem(pMenu, "40", "Any* Night", 0);
					AddMenuItem(pMenu, "5", "Any* Forest DDPAT", 0);
					AddMenuItem(pMenu, "77", "Any* Boreal Forest", 0);
					AddMenuItem(pMenu, "42", "Any* Blue Steel", 0);
					AddMenuItem(pMenu, "410", "Any* Damascus Steel", 0);
					AddMenuItem(pMenu, "43", "Any* Stained", 0);
					AddMenuItem(pMenu, "72", "Any* Safari Mesh", 0);
					AddMenuItem(pMenu, "143", "Any* Urban Masked", 0);
					AddMenuItem(pMenu, "175", "Any* Scorched", 0);
					AddMenuItem(pMenu, "414", "Any* Rust Coat", 0);
					AddMenuItem(pMenu, "409", "Any* Tiger Tooth", 0);
					DisplayMenu(pMenu, Client, 0);
				}
			}
			else
			{
				if (pMenu)
				{
					SetMenuTitle(pMenu, "★ SELECT KNiFE SKiN ★");
					AddMenuItem(pMenu, "-1", "» RANDOM «", 0);
					AddMenuItem(pMenu, "0", "» DEFAULT «", 0);
					if (g_pKnife[Client] == Knife:3)
					{
						AddMenuItem(pMenu, "411", "M9 Bayonet* Damascus Steel", 0);
						AddMenuItem(pMenu, "562", "M9 Bayonet* Lore", 0);
						AddMenuItem(pMenu, "567", "M9 Bayonet* Black Laminate", 0);
						AddMenuItem(pMenu, "577", "M9 Bayonet* Autotronic", 0);
						AddMenuItem(pMenu, "579", "M9 Bayonet* Bright Water", 0);
						AddMenuItem(pMenu, "581", "M9 Bayonet* Freehand", 0);
					}
					if (g_pKnife[Client] == Knife:4)
					{
						AddMenuItem(pMenu, "558", "Bayonet* Lore", 0);
						AddMenuItem(pMenu, "563", "Bayonet* Black Laminate", 0);
						AddMenuItem(pMenu, "573", "Bayonet* Autotronic", 0);
					}
					if (g_pKnife[Client] == Knife:9)
					{
						AddMenuItem(pMenu, "559", "Flip* Lore", 0);
						AddMenuItem(pMenu, "564", "Flip* Black Laminate", 0);
						AddMenuItem(pMenu, "574", "Flip* Autotronic", 0);
					}
					if (g_pKnife[Client] == Knife:8)
					{
						AddMenuItem(pMenu, "560", "Gut* Lore", 0);
						AddMenuItem(pMenu, "565", "Gut* Black Laminate", 0);
						AddMenuItem(pMenu, "575", "Gut* Autotronic", 0);
					}
					if (g_pKnife[Client] == Knife:1)
					{
						AddMenuItem(pMenu, "561", "Karambit* Lore", 0);
						AddMenuItem(pMenu, "566", "Karambit* Black Laminate", 0);
						AddMenuItem(pMenu, "576", "Karambit* Autotronic", 0);
						AddMenuItem(pMenu, "582", "Karambit* Freehand", 0);
					}
					AddMenuItem(pMenu, "580", "Any* Freehand", 0);
					AddMenuItem(pMenu, "578", "Any* Bright Water", 0);
					AddMenuItem(pMenu, "569", "Any* G. Doppler Phase #1", 0);
					AddMenuItem(pMenu, "570", "Any* G. Doppler Phase #2", 0);
					AddMenuItem(pMenu, "571", "Any* G. Doppler Phase #3", 0);
					AddMenuItem(pMenu, "572", "Any* G. Doppler Phase #4", 0);
					AddMenuItem(pMenu, "568", "Any* G. Doppler (Emerald)", 0);
					AddMenuItem(pMenu, "418", "Any* Doppler Phase #1", 0);
					AddMenuItem(pMenu, "419", "Any* Doppler Phase #2", 0);
					AddMenuItem(pMenu, "420", "Any* Doppler Phase #3", 0);
					AddMenuItem(pMenu, "421", "Any* Doppler Phase #4", 0);
					AddMenuItem(pMenu, "415", "Any* Doppler (Ruby)", 0);
					AddMenuItem(pMenu, "416", "Any* Doppler (Sapphire)", 0);
					AddMenuItem(pMenu, "417", "Any* Doppler (Blackpearl)", 0);
					AddMenuItem(pMenu, "38", "Any* Fade", 0);
					AddMenuItem(pMenu, "413", "Any* Marble Fade", 0);
					AddMenuItem(pMenu, "44", "Any* Case Hardened", 0);
					AddMenuItem(pMenu, "59", "Any* Slaughter", 0);
					AddMenuItem(pMenu, "12", "Any* Crimson Web", 0);
					AddMenuItem(pMenu, "232", "Any* Crimson Web (Darker)", 0);
					AddMenuItem(pMenu, "98", "Any* Ultraviolet", 0);
					AddMenuItem(pMenu, "40", "Any* Night", 0);
					AddMenuItem(pMenu, "5", "Any* Forest DDPAT", 0);
					AddMenuItem(pMenu, "77", "Any* Boreal Forest", 0);
					AddMenuItem(pMenu, "42", "Any* Blue Steel", 0);
					AddMenuItem(pMenu, "410", "Any* Damascus Steel", 0);
					AddMenuItem(pMenu, "43", "Any* Stained", 0);
					AddMenuItem(pMenu, "72", "Any* Safari Mesh", 0);
					AddMenuItem(pMenu, "143", "Any* Urban Masked", 0);
					AddMenuItem(pMenu, "175", "Any* Scorched", 0);
					AddMenuItem(pMenu, "414", "Any* Rust Coat", 0);
					AddMenuItem(pMenu, "409", "Any* Tiger Tooth", 0);
					DisplayMenu(pMenu, Client, 0);
				}
			}
		}
		if (!IsPlayerAlive(Client))
		{
			PrintToChat(Client, "* You must be\x05 Alive");
		}
		if (WeaponId == -1)
		{
			PrintToChat(Client, "* You must have an\x05 Active\x09 Weapon");
		}
		Id = GetEntProp(WeaponId, PropType:0, "m_iItemDefinitionIndex", 4, 0);
		pMenu = CreateMenu(MenuHandler_Skins, MenuAction:28);
		if (pMenu)
		{
			switch (Id)
			{
				case 1:
				{
					SetMenuTitle(pMenu, "Select Desert Eagle Skin");
					Iter = 0;
					while (Iter < 41)
					{
						FormatEx(Buffer, 256, g_DEagleSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 2:
				{
					SetMenuTitle(pMenu, "Select Dual Berettas Skin");
					Iter = 0;
					while (Iter < 34)
					{
						FormatEx(Buffer, 256, g_DualBerettasSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 3:
				{
					SetMenuTitle(pMenu, "Select Five-SeveN Skin");
					Iter = 0;
					while (Iter < 30)
					{
						FormatEx(Buffer, 256, g_FiveSeveNSKins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 4:
				{
					SetMenuTitle(pMenu, "Select Glock-18 Skin");
					Iter = 0;
					while (Iter < 37)
					{
						FormatEx(Buffer, 256, g_Glock18Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 7:
				{
					SetMenuTitle(pMenu, "Select AK-47 Skin");
					Iter = 0;
					while (Iter < 46)
					{
						FormatEx(Buffer, 256, g_Ak47Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 8:
				{
					SetMenuTitle(pMenu, "Select AUG Skin");
					Iter = 0;
					while (Iter < 32)
					{
						FormatEx(Buffer, 256, g_AugSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 9:
				{
					SetMenuTitle(pMenu, "Select AWP Skin");
					Iter = 0;
					while (Iter < 44)
					{
						FormatEx(Buffer, 256, g_AwpSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 10:
				{
					SetMenuTitle(pMenu, "Select FAMAS Skin");
					Iter = 0;
					while (Iter < 39)
					{
						FormatEx(Buffer, 256, g_FamasSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 11:
				{
					SetMenuTitle(pMenu, "Select G3SG1 Skin");
					Iter = 0;
					while (Iter < 32)
					{
						FormatEx(Buffer, 256, g_G3SG1Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 13:
				{
					SetMenuTitle(pMenu, "Select Galil AR Skin");
					Iter = 0;
					while (Iter < 40)
					{
						FormatEx(Buffer, 256, g_GalilARSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 14:
				{
					SetMenuTitle(pMenu, "Select M249 Skin");
					Iter = 0;
					while (Iter < 24)
					{
						FormatEx(Buffer, 256, g_M249Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 16:
				{
					SetMenuTitle(pMenu, "Select M4A4 Skin");
					Iter = 0;
					while (Iter < 44)
					{
						FormatEx(Buffer, 256, g_M4A4Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 17:
				{
					SetMenuTitle(pMenu, "Select MAC-10 Skin");
					Iter = 0;
					while (Iter < 37)
					{
						FormatEx(Buffer, 256, g_Mac10Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 19:
				{
					SetMenuTitle(pMenu, "Select P90 Skin");
					Iter = 0;
					while (Iter < 42)
					{
						FormatEx(Buffer, 256, g_P90Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 24:
				{
					SetMenuTitle(pMenu, "Select UMP-45 Skin");
					Iter = 0;
					while (Iter < 39)
					{
						FormatEx(Buffer, 256, g_Ump45Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 25:
				{
					SetMenuTitle(pMenu, "Select XM1014 Skin");
					Iter = 0;
					while (Iter < 35)
					{
						FormatEx(Buffer, 256, g_XM1014Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 26:
				{
					SetMenuTitle(pMenu, "Select PP-Bizon Skin");
					Iter = 0;
					while (Iter < 35)
					{
						FormatEx(Buffer, 256, g_PPBizonSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 27:
				{
					SetMenuTitle(pMenu, "Select MAG-7 Skin");
					Iter = 0;
					while (Iter < 32)
					{
						FormatEx(Buffer, 256, g_Mag7Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 28:
				{
					SetMenuTitle(pMenu, "Select Negev Skin");
					Iter = 0;
					while (Iter < 30)
					{
						FormatEx(Buffer, 256, g_NegevSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 29:
				{
					SetMenuTitle(pMenu, "Select Sawed-Off Skin");
					Iter = 0;
					while (Iter < 37)
					{
						FormatEx(Buffer, 256, g_SawedOffSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 30:
				{
					SetMenuTitle(pMenu, "Select Tec-9 Skin");
					Iter = 0;
					while (Iter < 37)
					{
						FormatEx(Buffer, 256, g_Tec9Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 32:
				{
					SetMenuTitle(pMenu, "Select P2000 Skin");
					Iter = 0;
					while (Iter < 33)
					{
						FormatEx(Buffer, 256, g_P2000Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 33:
				{
					SetMenuTitle(pMenu, "Select MP7 Skin");
					Iter = 0;
					while (Iter < 34)
					{
						FormatEx(Buffer, 256, g_Mp7Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 34:
				{
					SetMenuTitle(pMenu, "Select MP9 Skin");
					Iter = 0;
					while (Iter < 39)
					{
						FormatEx(Buffer, 256, g_Mp9Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 35:
				{
					SetMenuTitle(pMenu, "Select Nova Skin");
					Iter = 0;
					while (Iter < 37)
					{
						FormatEx(Buffer, 256, g_NovaSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 36:
				{
					SetMenuTitle(pMenu, "Select P250 Skin");
					Iter = 0;
					while (Iter < 36)
					{
						FormatEx(Buffer, 256, g_P250Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 38:
				{
					SetMenuTitle(pMenu, "Select SCAR-20 Skin");
					Iter = 0;
					while (Iter < 31)
					{
						FormatEx(Buffer, 256, g_Scar20Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 39:
				{
					SetMenuTitle(pMenu, "Select SG 553 Skin");
					Iter = 0;
					while (Iter < 33)
					{
						FormatEx(Buffer, 256, g_SG553Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 40:
				{
					SetMenuTitle(pMenu, "Select SSG 08 Skin");
					Iter = 0;
					while (Iter < 32)
					{
						FormatEx(Buffer, 256, g_SSG08Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 60:
				{
					SetMenuTitle(pMenu, "Select M4A1-S Skin");
					Iter = 0;
					while (Iter < 39)
					{
						FormatEx(Buffer, 256, g_M4A1Skins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 61:
				{
					SetMenuTitle(pMenu, "Select USP-S Skin");
					Iter = 0;
					while (Iter < 40)
					{
						FormatEx(Buffer, 256, g_UspSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 63:
				{
					SetMenuTitle(pMenu, "Select CZ75-Auto Skin");
					Iter = 0;
					while (Iter < 37)
					{
						FormatEx(Buffer, 256, g_CZ75AutoSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				case 64:
				{
					SetMenuTitle(pMenu, "Select R8 Revolver Skin");
					Iter = 0;
					while (Iter < 27)
					{
						FormatEx(Buffer, 256, g_RevolverSkins[Iter]);
						IntToString(Iter, Info, 8);
						AddMenuItem(pMenu, Info, Buffer, 0);
						Iter += 1;
					}
				}
				default:
				{
					SetMenuTitle(pMenu, "Select <???> Skin");
					AddMenuItem(pMenu, "0", "Default", 0);
				}
			}
			g_ItemDefinitionIndex[Client] = Id;
			DisplayMenu(pMenu, Client, 0);
		}
	}
	return Action:0;
}

public Action:TimerHandler_DisplayStatTrakDetails(Handle:pTimer, any:Client)
{
	new var1;
	if (g_bIsInGame[Client] && !g_bMessageShown[Client])
	{
		PrintHintText(Client, "Type <font color='#00FF00'>!ST</font> for <font color='#FF0000'>StatTrak™</font> weapons.");
		PrintToChat(Client, ">> Type\x07 !ST\x01 for\x09 StatTrak™\x01 weapons.");
		g_bMessageShown[Client] = 1;
	}
	return Action:0;
}

void:my_Remove(Data)
{
	AcceptEntityInput(Data, "KillHierarchy", -1, -1, 0);
	return void:0;
}

bool:ClassById(Id, String:Class[], Size)
{
	switch (Id)
	{
		case 1:
		{
			FormatEx(Class, Size, "weapon_deagle");
		}
		case 2:
		{
			FormatEx(Class, Size, "weapon_elite");
		}
		case 3:
		{
			FormatEx(Class, Size, "weapon_fiveseven");
		}
		case 4:
		{
			FormatEx(Class, Size, "weapon_glock");
		}
		case 7:
		{
			FormatEx(Class, Size, "weapon_ak47");
		}
		case 8:
		{
			FormatEx(Class, Size, "weapon_aug");
		}
		case 9:
		{
			FormatEx(Class, Size, "weapon_awp");
		}
		case 10:
		{
			FormatEx(Class, Size, "weapon_famas");
		}
		case 11:
		{
			FormatEx(Class, Size, "weapon_g3sg1");
		}
		case 13:
		{
			FormatEx(Class, Size, "weapon_galilar");
		}
		case 14:
		{
			FormatEx(Class, Size, "weapon_m249");
		}
		case 16:
		{
			FormatEx(Class, Size, "weapon_m4a1");
		}
		case 17:
		{
			FormatEx(Class, Size, "weapon_mac10");
		}
		case 19:
		{
			FormatEx(Class, Size, "weapon_p90");
		}
		case 24:
		{
			FormatEx(Class, Size, "weapon_ump45");
		}
		case 25:
		{
			FormatEx(Class, Size, "weapon_xm1014");
		}
		case 26:
		{
			FormatEx(Class, Size, "weapon_bizon");
		}
		case 27:
		{
			FormatEx(Class, Size, "weapon_mag7");
		}
		case 28:
		{
			FormatEx(Class, Size, "weapon_negev");
		}
		case 29:
		{
			FormatEx(Class, Size, "weapon_sawedoff");
		}
		case 30:
		{
			FormatEx(Class, Size, "weapon_tec9");
		}
		case 32:
		{
			FormatEx(Class, Size, "weapon_hkp2000");
		}
		case 33:
		{
			FormatEx(Class, Size, "weapon_mp7");
		}
		case 34:
		{
			FormatEx(Class, Size, "weapon_mp9");
		}
		case 35:
		{
			FormatEx(Class, Size, "weapon_nova");
		}
		case 36:
		{
			FormatEx(Class, Size, "weapon_p250");
		}
		case 38:
		{
			FormatEx(Class, Size, "weapon_scar20");
		}
		case 39:
		{
			FormatEx(Class, Size, "weapon_sg556");
		}
		case 40:
		{
			FormatEx(Class, Size, "weapon_ssg08");
		}
		case 42:
		{
			FormatEx(Class, Size, "weapon_knife");
		}
		case 59:
		{
			FormatEx(Class, Size, "weapon_knife_t");
		}
		case 60:
		{
			FormatEx(Class, Size, "weapon_m4a1_silencer");
		}
		case 61:
		{
			FormatEx(Class, Size, "weapon_usp_silencer");
		}
		case 63:
		{
			FormatEx(Class, Size, "weapon_cz75a");
		}
		case 64:
		{
			FormatEx(Class, Size, "weapon_revolver");
		}
		case 500:
		{
			FormatEx(Class, Size, "weapon_bayonet");
		}
		case 505:
		{
			FormatEx(Class, Size, "weapon_knife_flip");
		}
		case 506:
		{
			FormatEx(Class, Size, "weapon_knife_gut");
		}
		case 507:
		{
			FormatEx(Class, Size, "weapon_knife_karambit");
		}
		case 508:
		{
			FormatEx(Class, Size, "weapon_knife_m9_bayonet");
		}
		case 509:
		{
			FormatEx(Class, Size, "weapon_knife_tactical");
		}
		case 512:
		{
			FormatEx(Class, Size, "weapon_knife_falchion");
		}
		case 514:
		{
			FormatEx(Class, Size, "weapon_knife_survival_bowie");
		}
		case 515:
		{
			FormatEx(Class, Size, "weapon_knife_butterfly");
		}
		case 516:
		{
			FormatEx(Class, Size, "weapon_knife_push");
		}
		case 519:
		{
			FormatEx(Class, Size, "weapon_knife_ursus");
		}
		case 520:
		{
			FormatEx(Class, Size, "weapon_knife_gypsy_jackknife");
		}
		case 522:
		{
			FormatEx(Class, Size, "weapon_knife_stiletto");
		}
		case 523:
		{
			FormatEx(Class, Size, "weapon_knife_widowmaker");
		}
		default:
		{
			Class[0] = MissingTAG:0;
		}
	}
	new var1;
	if (Class[0])
	{
		var1 = true;
	}
	else
	{
		var1 = false;
	}
	return var1;
}

IDIByClass(String:szClass[])
{
	if (!strcmp(szClass, "weapon_bayonet", true))
	{
		return 500;
	}
	if (!strcmp(szClass, "weapon_knife_flip", true))
	{
		return 505;
	}
	if (!strcmp(szClass, "weapon_knife_gut", true))
	{
		return 506;
	}
	if (!strcmp(szClass, "weapon_knife_karambit", true))
	{
		return 507;
	}
	if (!strcmp(szClass, "weapon_knife_m9_bayonet", true))
	{
		return 508;
	}
	if (!strcmp(szClass, "weapon_knife_tactical", true))
	{
		return 509;
	}
	if (!strcmp(szClass, "weapon_knife_falchion", true))
	{
		return 512;
	}
	if (!strcmp(szClass, "weapon_knife_survival_bowie", true))
	{
		return 514;
	}
	if (!strcmp(szClass, "weapon_knife_butterfly", true))
	{
		return 515;
	}
	if (!strcmp(szClass, "weapon_knife_push", true))
	{
		return 516;
	}
	if (!strcmp(szClass, "weapon_knife_ursus", true))
	{
		return 519;
	}
	if (!strcmp(szClass, "weapon_knife_stiletto", true))
	{
		return 522;
	}
	if (!strcmp(szClass, "weapon_knife_gypsy_jackknife", true))
	{
		return 520;
	}
	if (!strcmp(szClass, "weapon_knife_widowmaker", true))
	{
		return 523;
	}
	if (!strcmp(szClass, "weapon_knife", true))
	{
		return 42;
	}
	if (!strcmp(szClass, "weapon_knife_t", true))
	{
		return 59;
	}
	return 0;
}

hCSGO_PureChatCommand(String:Input[], String:Output[], Size)
{
	static m_Length;
	static m_Iterator;
	m_Iterator = 0;
	m_Length = 0;
	Output[0] = MissingTAG:0;
	while (strlen(Input) > m_Iterator)
	{
		new var1;
		if (Input[m_Iterator] == '!' || Input[m_Iterator] == '/' || IsCharAlpha(Input[m_Iterator]) || IsCharNumeric(Input[m_Iterator]))
		{
			m_Length = Format(Output, Size, "%s%c", Output, Input[m_Iterator]);
		}
		m_Iterator += 1;
	}
	return m_Length;
}
CrazySkull2k is offline
Cruze
Veteran Member
Join Date: May 2017
Old 05-31-2019 , 05:56   Re: [HELP] Help fixing this decompiled plugin
Reply With Quote #2

You can't recompile decompiled plugins until you remove the things which is not required.
__________________
Taking paid private requests! Contact me
Cruze is offline
CrazySkull2k
Member
Join Date: Feb 2017
Old 05-31-2019 , 06:43   Re: [HELP] Help fixing this decompiled plugin
Reply With Quote #3

And how do I know which things are not required?
CrazySkull2k is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 05-31-2019 , 11:10   Re: [HELP] Help fixing this decompiled plugin
Reply With Quote #4

Quote:
Originally Posted by CrazySkull2k View Post
And how do I know which things are not required?
Learning sourcepawn, https://wiki.alliedmods.net/Introduc...rceMod_Plugins
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 06-01-2019 , 09:26   Re: [HELP] Help fixing this decompiled plugin
Reply With Quote #5

Looks like a prohibited plugin to me. You won't get help here with this.
__________________
B3none is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode