ZMarket: Yet another location.

This commit is contained in:
zaCade 2019-03-10 19:59:04 +01:00
parent 4a4ae4dc1e
commit 177d9217b8

View File

@ -999,7 +999,7 @@ stock bool:ZMarketEquip(client, const String:weapon[], bool:rebuy = false)
// Get the display name for the weapon. // Get the display name for the weapon.
decl String:weapondisplay[WEAPONS_MAX_LENGTH]; decl String:weapondisplay[WEAPONS_MAX_LENGTH];
WeaponsGetName(weaponindex, weapondisplay, sizeof(weapondisplay)); WeaponsGetName(weaponindex, weapondisplay, sizeof(weapondisplay), (g_Game == Game_CSGO));
// Check to make sure the weapon isn't restricted. // Check to make sure the weapon isn't restricted.
new bool:restricted = RestrictIsWeaponRestricted(weaponindex); new bool:restricted = RestrictIsWeaponRestricted(weaponindex);