18.03.2011, 00:03
https://sampwiki.blast.hk/wiki/Strcat
strcat's second parameter is a STRING which you cannot format with multiple arguments in the function, you should use format() for that.
tl;dr: You can't format strings using strcat.
strcat's second parameter is a STRING which you cannot format with multiple arguments in the function, you should use format() for that.
pawn Code:
new
szReplicateString[24],
szNewString[24];
format(szNewString, sizeof(szNewString), "aoaoao%d", GetPlayerWantedLevel(0));
strcat(szReplicateString, szNewString, sizeof(szNewString));