17.06.2012, 14:14
Код:
error 048: array dimensions do not match error 048: array dimensions do not match
pawn Код:
format(pInfo,sizeof(pInfo)," ~g~ Level Up! ~w~ Your now level: [%d]",pInfo[playerid][pLevel]);
error 048: array dimensions do not match error 048: array dimensions do not match
format(pInfo,sizeof(pInfo)," ~g~ Level Up! ~w~ Your now level: [%d]",pInfo[playerid][pLevel]);
format(string,sizeof(string)," ~g~ Level Up! ~w~ Your now level: [%d]",pInfo[playerid][pLevel]);
I think its not pInfo, try this but i'm not sure.
pawn Код:
|
error 048: array dimensions do not match
format(pInfo,sizeof(pInfo)," ~g~ Level Up! ~w~ Your now level: [%d]",pInfo[playerid][pLevel]);
This makes NO sense, as the size of a string is the maximum size to be used, and will never return a syntax error.
The worst it can do is not formatting the entire string because of the text being too long, but that is not what is happening. Dimensions do not match can be explain as you trying to walk into the depth while playing a 2D game, which is not possible. |