Error: array index out of bounds. Any help would be much appreciated!
#1

Delete this. Figured out myself.
Reply
#2

pawn Код:
format(string, sizeof string, "MY STRING: %s", MY_DATA[MY_VAR]);
Never tried the sizeof thing without the (), so I'm not sure if it's the problem. Try this:
pawn Код:
format(string, sizeof(string), "MY STRING: %s", MY_DATA[MY_VAR]);
Reply
#3

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
pawn Код:
format(string, sizeof string, "MY STRING: %s", MY_DATA[MY_VAR]);
Never tried the sizeof thing without the (), so I'm not sure if it's the problem. Try this:
pawn Код:
format(string, sizeof(string), "MY STRING: %s", MY_DATA[MY_VAR]);
Thats not the problem, I've been formatting strings like that for a while now. Its possible!
Reply
#4

Well anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)