Warning and eror on textdraw
#2

The second argument in TextDrawSetString must be a string so format it:
pawn Код:
public InfoUpdate()
{
    new szInfo[32];
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        format(szInfo, sizeof (szInfo), "%i", GetPlayerTWanted(i));
        TextDrawSetString(ITARIMAS1[i], szInfo );
        TextDrawShowForPlayer(i, ITARIMAS1[i]);
    }
    return 1;
}
Reply


Messages In This Thread
Warning and eror on textdraw - by lukysnba - 28.03.2014, 20:57
Re: Warning and eror on textdraw - by Konstantinos - 28.03.2014, 20:59
Re: Warning and eror on textdraw - by xPr0BaNx - 28.03.2014, 21:00

Forum Jump:


Users browsing this thread: 1 Guest(s)