09.05.2016, 23:13
Quote:
Hello, i'm having a problem with detecting characters for my deathreasons, when a player dies it only displays "(( This player has been" but it should display the full text inside of the two brackets here is my code,
Код:
format(maticalreason,sizeof(maticalreason),"(( This player has been injured, /damages %i for more information))", playerid); DeathReason[playerid] = Create3DTextLabel(maticalreason, COLOR_LIGHTRED, 30.0, 40.0, 50.0, 15.0, 0, 1); Attach3DTextLabelToPlayer(DeathReason[playerid], playerid, 0.0, 0.0, 0.5); #define MAXLEN 100 I'm really stumped on whats causing this problem. |