15.12.2016, 15:12
wtf really 99999?, 50 is much more than enough, and no need 3 string use one
fix: REP++
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;
}