In your first line you have 4 strings which is ok, then you have 4 lines starting with CSW_DEAGLE, which is an integer. It is expecting a string value. You can't just put data however you want, it has to comply with how your enum/array is defined. If WEAPON is supposed to be a weapon index, remove the [50]