Error !!!!
#3

Quote:
Originally Posted by Cerealguy
Посмотреть сообщение
wtf really 99999?, 50 is much more than enough

fix: REP++
pawn Код:
forward BangDiemSoTextDraw(playerid);
public BangDiemSoTextDraw(playerid)
{
    for(new x = 0; x <= 2; x++) TextDrawShowForPlayer(playerid,BangDiemSo[x]);
    new Diem[50], Giet[50], Chet[50];
   
    format(Diem,sizeof(Diem),"Diem: %i", GetPlayerScore(playerid));
    TextDrawSetString(BangDiemSo[0], Diem);
    format(Giet,sizeof(Giet),"Giet: %i", PlayerInfo[playerid][Kills]);
    TextDrawSetString(BangDiemSo[1], Giet);
    format(Chet,sizeof(Chet),"Chet: %i", PlayerInfo[playerid][Deaths]);
    TextDrawSetString(BangDiemSo[2], Chet);
    return 1;
}
still have error
Код:
warning 219: local variable "Diem" shadows a variable at a preceding level
Thien.pwn(813) : error 035: argument type mismatch (argument 1)
Thien.pwn(813) : error 035: argument type mismatch (argument 1)
Thien.pwn(814) : error 035: argument type mismatch (argument 2)
Thien.pwn(811) : warning 204: symbol is assigned a value that is never used: "Diem"
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)