Pawn Compiler Crashes


So I have an enum made for WeaponData..

The problem is that if I add "[MAX_PLAYERS]" in variable

PHP Code:
new WeaponInfo[MAX_PLAYERS][MAX_WEAPONS][WeaponData]; 
it crashes compiler.. but if I do it without it works.

Any idea what I'm doing wrong?

"WeaponData" is enum name.
"MAX_WEAPONS" is custom #define

What compiler do you have ? The basic one? If so, it doesn't allow you to create 4D (or more) arrays.
I suggest you to switch to the "community compiler":

I tried it, doesnt work. Or if you can suggest me how to make dynamicobject for player and then also delete all objects that were created for this player.

Forum Jump:

Users browsing this thread: 1 Guest(s)