28.06.2017, 21:44
Hi,
I'm using the following code to update a text draw:
I'm sending client messages as logs as it does not append the string.
iStr is displayed correctly and casinoBetsTD is blank.
I'm using the following code to update a text draw:
Code:
format(iStr, sizeof(iStr), "%s (%d) ~g~($%s)~w~n~ -> %s~n~", RPName(playerid), playerid, number_format(amount), iBet); strcat(PlayerTemp[PlayerTemp[playerid][pDealing]][casinoBetsTD], iStr); SendClientMessage(playerid, COLOR_WHITE, iStr); SendClientMessage(playerid, COLOR_WHITE, PlayerTemp[PlayerTemp[playerid][pDealing]][casinoBetsTD]);
iStr is displayed correctly and casinoBetsTD is blank.

