View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 03-30-2020 , 10:52   Re: [L4D1/2] CS:GO Quickswitch Reloading (v1.5, 2019-10-14)
Reply With Quote #8

fbef0102, plugin will not compile on sm v.1.11.

You can add here ID_WEAPON_MAX item:
Quote:
enum WeaponID
{
ID_NONE,
ID_PISTOL,
ID_DUAL_PISTOL,
ID_SMG,
ID_PUMPSHOTGUN,
ID_RIFLE,
ID_AUTOSHOTGUN,
ID_HUNTING_RIFLE,
ID_WEAPON_MAX
}
and replace
Code:
char Weapon_Name[WeaponID][32];
int WeaponAmmoOffest[WeaponID];
int WeaponMaxClip[WeaponID];
by:
Code:
char Weapon_Name[ID_WEAPON_MAX][32];
int WeaponAmmoOffest[ID_WEAPON_MAX];
int WeaponMaxClip[ID_WEAPON_MAX];
TiTz, looks like plugin file is damaged during uploading (or it is loaded too early, before uploading finished).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]

Last edited by Dragokas; 04-02-2020 at 12:23.
Dragokas is offline