splewis / csgo-retakes

CS:GO Sourcemod plugin for a site-retake gamemode
GNU General Public License v3.0
329 stars 115 forks source link

How to put CZ75A to the pistol list? #141

Closed Nukerz closed 6 years ago

Nukerz commented 6 years ago

how to put weapon_cz75a to the pistol menu?

Tried in retakes_pistolallocator.sp :

define MENU_TIME_LENGTH 15

char g_PistolChoices[][][] = { // Default pistols: { "weapon_glock", "Glock" }, { "weapon_usp_silencer", "USP" }, { "weapon_hkp2000", "P2000" },

// Upgraded pistols:

{ "weapon_p250", "P250" },
{ "weapon_cz75a", "CZ75-AUTO" }, <<<<<<<*****
{ "weapon_tec9", "Tec-9" },
{ "weapon_fiveseven", "Five-Seven" },
{ "weapon_deagle", "Deagle" },

};

splewis commented 6 years ago

That change should work. You probably didn't recompile the plugin - if you need help doing that you should check the sourcemod forums.