18.12.2016, 06:54
The problem is in here,
If I use new str[70]; and keep it within 70, it perfectly shows the textdraw however some text doesn't show. If i increase it over 70, it doesn't show the entire textdraw.
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(!success) { new str[75]; format(str,sizeof(str),"The Command ~y~%s ~w~does not exist, To see all commands use ~y~/cmds ",cmdtext); PlayerTextDrawSetString(playerid,wrongcmd[playerid],str); PlayerTextDrawShow(playerid,wrongcmd[playerid]); SetTimerEx("HideWrongTD", 6000, false, "i", playerid); } return 1; }