Confirmed starting without those 2 lines, but the fix suggested doesnt work.
It works fine without the gsc_utils_init though, so there's definitely a problem in there.
This works though:
Not sure if this fucks up anything anywhere else, please advise.PHP Code:
#define MAX_WEAPON_IGNORE_SIZE 20
#define MAX_WEAPON_NAME_SIZE 32
char defaultweapon_mp[MAX_WEAPON_NAME_SIZE];
char ignoredWeapons[MAX_WEAPON_IGNORE_SIZE][MAX_WEAPON_NAME_SIZE];
int ignoredWeaponCount = 0;
void gsc_utils_init() {
strcpy(defaultweapon_mp, (char*)"defaultweapon_mp");
defaultweapon_mp[strlen(defaultweapon_mp)] = '\0';
}
void gsc_utils_free() {
//free(defaultweapon_mp);
}



Reply With Quote