Pawn Compiler Crashes
#1

Hey!

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
Reply
#2

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": https://github.com/pawn-lang/compiler/releases
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)