29.07.2017, 10:11
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.