Quote:
Originally Posted by TheToretto
pawn Код:
format(StringCat, sizeof StringCat, "- {FFFFFF}Atuais suspeitos procurados pelo(a) %s", OrgsNamesSmall[GetPlayerOrg(playerid)], sizeof(StringCat));
format(StringCat, sizeof StringCat,"- {FFFFFF}Elemento: %s(%d), Level %d.",PlayerGetName(i),i,WantedPoints[i]); // format instead of strcat
strcat(StringCat, "- {FFFFFF}Nenhum", sizeof StringCat);
The destination's length is the latest parameter, also, fix your indentation.
|
Could you please pass this corrected code to me? Then I can understand where I'm going wrong.