warning 202: number of arguments does not match definition
#1

Help ?

Код:
CMD:stats(playerid, params[])
{
	new
	string[200], Float:Health;
	GetPlayerHealth(playerid, Health);

	format(string, sizeof(string),"_______________________________""[%s]""_______________________________", GetPlayerName(playerid));
	SCM(playerid, COLOR_GREEN, string);

	format(string, sizeof(string),"[GENERAL]: Name: %s | Money: $%d | Level: %d | Kills: %d | Respect: %d | Number: %d", GetName(playerid),GetPlayerCash(playerid), PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pKills],PlayerInfo[playerid][pRespect],PlayerInfo[playerid][pNumber]);
	SCM(playerid, COLOR_WHITE, string);

	format(string, sizeof(string),"[GENERAL]: Admin Level: %d | Cigarettes: %d | Beers: %d | Business Key: %d | House Key: %d", PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pCigarettes], PlayerInfo[playerid][pBeer], PlayerInfo[playerid][BizID], PlayerInfo[playerid][HouseID]);
	SCM(playerid, COLOR_WHITE, string);

	format(string, sizeof(string),"[GENERAL]: Age: %d | Bank: $%d | Experience: %d", PlayerInfo[playerid][pAge], PlayerInfo[playerid][pBankAccount],  PlayerInfo[playerid][pExperience]);
	SCM(playerid, COLOR_WHITE, string);

	format(string, sizeof(string), "[DRUGS]: Marijuana: %d | Cocaine: %d | LSD: %d", PlayerInfo[playerid][dMarijuana], PlayerInfo[playerid][dCocaine], PlayerInfo[playerid][dLSD]);
	SCM(playerid, COLOR_WHITE, string);
	return 1;
}
Код:
D:\Basic RP Script Scratch FIX\gamemodes\U1.pwn(721) : warning 202: number of arguments does not match definition
D:\Basic RP Script Scratch FIX\gamemodes\U1.pwn(721) : warning 202: number of arguments does not match definition
this is line 721:
Код:
format(string, sizeof(string),"_______________________________""[%s]""_______________________________", GetPlayerName(playerid));
	SCM(playerid, COLOR_GREEN, string);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)