Player Textdraw Doesn't show...
#5

The problem is in here,
Код:
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;
}
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.
Reply


Messages In This Thread
Player Textdraw Doesn't show... - by SsHady - 18.12.2016, 06:17
Re: Player Textdraw Doesn't show... - by iLearner - 18.12.2016, 06:32
Re: Player Textdraw Doesn't show... - by SsHady - 18.12.2016, 06:37
Re: Player Textdraw Doesn't show... - by iLearner - 18.12.2016, 06:43
Re: Player Textdraw Doesn't show... - by SsHady - 18.12.2016, 06:54
Re: Player Textdraw Doesn't show... - by NaS - 18.12.2016, 06:58
Re: Player Textdraw Doesn't show... - by SsHady - 18.12.2016, 07:04
Re: Player Textdraw Doesn't show... - by NaS - 18.12.2016, 07:05
Re: Player Textdraw Doesn't show... - by SsHady - 18.12.2016, 08:20

Forum Jump:


Users browsing this thread: 1 Guest(s)