Error !!!!
#1

Код:
Thien.pwn(808) : warning 219: local variable "Diem" shadows a variable at a preceding level
Thien.pwn(810) : error 035: argument type mismatch (argument 1)
Thien.pwn(810) : error 035: argument type mismatch (argument 1)
Thien.pwn(810) : error 076: syntax error in the expression, or invalid function call
Thien.pwn(810) : fatal error 107: too many error messages on one line
Код:
forward BangDiemSoTextDraw(playerid);
public BangDiemSoTextDraw(playerid)
{
	for(new x = 0; x <= 2; x++) TextDrawShowForPlayer(playerid,BangDiemSo[x]);
	new Diem[99999], Giet[99999], Chet[99999];
	
	format(Diem,sizeof(Diem),"Diem: %i", GetPlayerScore;
	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;
}
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: 2 Guest(s)