PHP Code:
static const szWeaponNames[23][24] = { "{XM1014 M4}", "{AUG}", "{SG-550 Auto-Sniper}",
"{Famas}", "{AWP Magnum Sniper}", "{MP5 Navy}", "{M4A1}",
"{AK-47 Kalashnikov}",
"{USP .45 ACP Tactical}", "{Desert Eagle .50 AE}" }
You are saying "hey compiler, please allocate memory for 23 instances of these 24 character length things" but then you only provide 10 strings.
Change
static const szWeaponNames[23][24]
to
static const szWeaponNames[][]
or
static const szWeaponNames[10][]
__________________