Help error 1
#1

Код:
error 001: expected token: ",", but found ";"
Код:
if(strcmp("/stats", cmdtext, true, 10) == 0) //players ingame stats
	{
	    new string[128];
		format(string, sizeof(string), "SCORE: %d  DEATHS: %d  KILLS: %d", GetPlayerScore(playerid), deaths[playerid], kills[playerid];
		SendClientMessage(playerid, WHITE, string);
		return 1;
Код:
format(string, sizeof(string), "SCORE: %d  DEATHS: %d  KILLS: %d", GetPlayerScore(playerid), deaths[playerid], kills[playerid];
Reply
#2

pawn Код:
format(string, sizeof(string), "SCORE: %d  DEATHS: %d  KILLS: %d", GetPlayerScore(playerid), deaths[playerid], kills[playerid]);
you were missing a )
Reply
#3

Thanks for helping me +rep!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)