/stats command
#13

Guys Can You Fix This?Please!!

Код:
YCMD:stats(playerid,params[])
{
	new password = PlayerInfo[playerid][pPass];
	new money = PlayerInfo[playerid][pCash];
	new deaths = PlayerInfo[playerid][pDeaths];
	new kills = PlayerInfo[playerid][pKills];
	new score = PlayerInfo[playerid][pScore];
	new admin = PlayerInfo[playerid][pAdmin];
	new vip = PlayerInfo[playerid][pVIP];
	new killpoints = PlayerInfo[playerid][pKillPoints];
	new string[500];
	format(string,sizeof(string),"Password: %s | Money: %d | Deaths: %d | Kills: %d | Score: %d | Admin: %d | VIP: %d | Killpoints: %d",password,money,deaths,kills,score,admin,vip,killpoints); 
	SendClientMessage(playerid,COLOR_WHITE,string);
    return 1;
}
Код:
C:\Users\user\Desktop\Folder\gamemodes\test2.pwn(297) : warning 217: loose indentation
C:\Users\user\Desktop\Folder\gamemodes\test2.pwn(300) : warning 202: number of arguments does not match definition
C:\Users\user\Desktop\Folder\gamemodes\test2.pwn(306) : error 017: undefined symbol "pScore"
C:\Users\user\Desktop\Folder\gamemodes\test2.pwn(308) : error 017: undefined symbol "pVIP"
C:\Users\user\Desktop\Folder\gamemodes\test2.pwn(309) : error 017: undefined symbol "pKillPoints"
C:\Users\user\Desktop\Folder\gamemodes\test2.pwn(300) : warning 203: symbol is never used: "params"
C:\Users\user\Desktop\Folder\gamemodes\test2.pwn(497) : warning 204: symbol is assigned a value that is never used: "randMSG1"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply


Messages In This Thread
/stats command - by Azzeto - 13.10.2011, 18:14
Re: /stats command - by MonkZemun - 13.10.2011, 18:19
Re: /stats command - by Azzeto - 13.10.2011, 18:21
Re: /stats command - by MonkZemun - 13.10.2011, 18:28
Re: /stats command - by Azzeto - 13.10.2011, 18:30
Re: /stats command - by Giovanni - 13.10.2011, 18:32
Re: /stats command - by Azzeto - 13.10.2011, 18:36
Re: /stats command - by Azzeto - 13.10.2011, 18:54
Re: /stats command - by SmiT - 13.10.2011, 19:14
Re: /stats command - by Kush - 13.10.2011, 19:29
Re: /stats command - by Azzeto - 13.10.2011, 19:40
Re: /stats command - by Pillhead2007 - 24.03.2013, 16:49
Re: /stats command - by ButlerSmcs - 29.07.2017, 10:11
Re: /stats command - by Fratello - 29.07.2017, 11:18

Forum Jump:


Users browsing this thread: 2 Guest(s)