05.04.2014, 17:30
Код:
CMD: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\lol\FR 2013\filterscripts\stats.pwn(1) : warning 203: symbol is never used: "stats"
C:\Users\lol\FR 2013\filterscripts\stats.pwn(1 -- 19) : error 013: no entry point (no public functions)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.