02.02.2013, 17:11
So, from tests that ****** did in the Code Optimization topic it shows that b = a is still the fastest. However, mine doesn't seem to work at all and I have no idea why.
Both mCargo s come from the same enum but are used in other places (mPlayerInfo for instance comes from an enum itself, so it saves an enum inside an enum).
the first printf prints "E" and the second printf prints "Equipment". Both strings are the same size, so why does it only take one character?
pawn Код:
mPlayerInfo[playerid][mCurrentJob][mCargo] = jobs[playerid][jobid][mCargo];
printf("%s", mPlayerInfo[playerid][mCurrentJob][mCargo]);
printf("%s",jobs[playerid][jobid][mCargo]);
the first printf prints "E" and the second printf prints "Equipment". Both strings are the same size, so why does it only take one character?