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"