13.07.2011, 19:43
Because you incorrectly formatted the string. You set your 'currank' string to format as an integer (%d), which is incorrect. Strings are to be formatted using the '%s' placeholder. Replace your 'format' statement with this code:
pawn Код:
format(string, sizeof(string), "** Chief %s %s #%d: %s, over. **", str,currank,PlayerInfo[playerid][pBadgeNumber], result);