Error !!!!
#2

wtf really 99999?, 50 is much more than enough, and no need 3 string use one

fix: REP++
pawn Код:
forward BangDiemSoTextDraw(playerid);
public BangDiemSoTextDraw(playerid)
{
    for(new x = 0; x <= 2; x++) TextDrawShowForPlayer(playerid,BangDiemSo[x]);
    new str[50];
   
    format(str,sizeof(str),"Diem: %i", GetPlayerScore(playerid));
    TextDrawSetString(BangDiemSo[0], str);
    format(str,sizeof(str),"Giet: %i", PlayerInfo[playerid][Kills]);
    TextDrawSetString(BangDiemSo[1], str);
    format(str,sizeof(str),"Chet: %i", PlayerInfo[playerid][Deaths]);
    TextDrawSetString(BangDiemSo[2], str);
    return 1;
}
Reply


Messages In This Thread
Error !!!! - by TYDS - 15.12.2016, 14:58
Respuesta: Error !!!! - by Cerealguy - 15.12.2016, 15:12
Re: Respuesta: Error !!!! - by TYDS - 15.12.2016, 15:15
Respuesta: Error !!!! - by Cerealguy - 15.12.2016, 15:17
Re: Error !!!! - by saffierr - 15.12.2016, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)