Array sizes do not match
#1

So, I have this in my enum:

pawn Код:
Title[128]
and i'm trying to do:

pawn Код:
cInfo[playerid][Title] = "Event Winner";
and i'm getting the error:

Quote:

error 047: array sizes do not match, or destination array is too small

What's wrong with what i'm doing?
Reply
#2

Use format.
Reply
#3

format(cInfo[playerid][Title],128,"Event Winner");
Reply
#4

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
Use format.
Quote:
Originally Posted by iPLEOMAX
Посмотреть сообщение
format(cInfo[playerid][Title],128,"Event Winner");
Oh, duh. Sorry guys, still exhausted. Thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)