19.07.2011, 15:33
so for the past 10 minutes ive been searching the forums and the wiki trying to fix this error, it is dealing with this array:
is there something i'm doing wrong? do i need 32 characters in each string, like filling it in with spaces?
Code:
new DeathReason[54][31] = { {"Fists"}, {"Brass Knuckles"}, {"Golf Club"}, {"Nite Stick"}, {"Knife"}, {"Baseball Bat"}, {"Shovel"}, {"Pool Cue"}, {"Katana"}, {"Chainsaw"}, {"Purple Dildo"}, {"Small Whit Vibrator"}, {"Large White Vibrator"}, {"Silver Vibrator"}, {"Flowers"}, {"Cane"}, {"Grenade"}, {"Tear Gas"}, {"Molotov Cocktail"}, {"9mm"}, {"Silenced 9mm"}, {"Desert Eagle"}, {"Shotgun"}, {"Sawn-off Shotgun"}, {"Combat Shotgun"}, {"Micro SMG"}, {"MP5"}, {"AK-47"}, {"M4"}, {"Tec9"}, {"Country Rifle"}, {"Sniper Rifle"}, {"Rocket Launcher"}, {"Heat Seeking Rocket Launcher"}, {"Flamethrower"}, {"Minigun"}, {"Satchel Charge"}, {"Detonator"}, {"Spraycan"}, {"Fire Extinguisher"}, {"Camera"}, {"Nightvision Goggles"}, {"Thermal Goggles"}, {"Parachute"}, {"Fake Pistol"}, {"Vehicle"}, {"Helicopter Blades"}, {"Explosion"}, {"Invalid"}, {"Drowned"}, {"Fall"} }; //<<-- compiler prints error on this line