String within arrays
#1

Hi! I have a little tricky question:

I want to create a string with certain size within array but it doesn't work. Any questions how to fix this?

The code below works:
Код:
enum MapData
{
...
mPickup_Text[MAX__PICKUPS],
...
}
new Map[MAX_MAPS][MapData];
The code below not work (but I must have it):
Код:
enum MapData
{
...
mPickup_Text[MAX__PICKUPS][64],
...
}
new Map[MAX_MAPS][MapData];
Reply
#2

Bump, please I need this to be solved .
Reply
#3

I'm not sure if it's possible to do it like you're trying to, do this instead...
pawn Код:
new mPickup_Text[MAX__PICKUPS][64];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)