(649) : error 029: invalid expression, assumed zero
(649) : warning 215: expression has no effect
(649) : error 001: expected token: ";", but found ")"
(649) : error 029: invalid expression, assumed zero
(649) : fatal error 107: too many error messages on one line
YCMD:stats(playerid,params[],help)
{
if(IsPlayerConnected(playerid))
{
new Passw = pInfo[playerid][Pass];
new Admins = pInfo[playerid][Admin];
new Vips = pInfo[playerid][Vip];
new Respects = pInfo[playerid][Respect];
new Moneys = pInfo[playerid][Money];
new Killss = pInfo[playerid][Kills];
new Deathss = pInfo[playerid][Deaths];
new Arresteds = pInfo[playerid][Arrested];
new Jaileds = pInfo[playerid][Jailed];
new Kickeds = pInfo[playerid][Kicked];
new Banneds = pInfo[playerid][Banned];
new Joineds = pInfo[playerid][Joined];
new Members = pInfo[playerid][Member];
new Leaders = pInfo[playerid][Leader];
new Houses = pInfo[playerid][House];
new Cars = pInfo[playerid][Car];
new Keyss = pInfo[playerid][Keys];
new Keys1s = pInfo[playerid][Keys1];
new Keys2s = pInfo[playerid][Keys2];
new Keys3s = pInfo[playerid][Keys3];
new Keys4s = pInfo[playerid][Keys4];
new Warneds = pInfo[playerid][Warned];
new Tickets = pInfo[playerid][Ticket];
new JoinedEvents = pInfo[playerid][JoinedEvent];
new Cookies = pInfo[playerid][Cookie];
new Skins = pInfo[playerid][Skin];
new Citys = pInfo[playerid][City];
new Scoress = pInfo[playerid][Scores];
new Fightings = pInfo[playerid][Fighting];
new Ages = pInfo[playerid][Age];
new Religions = pInfo[playerid][Religion];
new Educations = pInfo[playerid][Education];
new string[500];
format(string,sizeof(string),"Password: %s | Admin: %d | Vip: %d | Respect: %d | Money: %d | Kills: %d | Deaths: %d |",Passw,Admins,Vips,Respects,Moneys,Killss,Deathss);
format(string,sizeof(string),"Arrested: %d | Jailed: %d | Kicked: %d| Banned: %d| Joined: %d| Member: %d| Leader: %d|",Arresteds,Jaileds,Kickeds,Banneds,Joineds,Members,Leaders);
format(string,sizeof(string),"House: %d| Car: %d| Key: %d| Key1: %d| Key2: %d| Key3: %d| Key4: %d| Events: %d| Warns: %d| Tickets: %d| Cookies: %d|",Houses,Cars,Keyss,Keys1s,Keys2s,Keys3s,Keys4s,JoinedEvents,Warneds,Tickets,Cookies);
format(string,sizeof(string),"Skin: %d| City: %d| Scores: %d| Fighting: %d| Age: %d| Religion: %d| Education: %d|",Skins,Citys,Scoress,Fightings,Ages,Religions,Educations);
SendClientMessage(playerid,COLOR_WHITE,string);//This line is giving errors...
}
return 1;
}
pInfo[playerid][Fighting] = 1;
new fightingstyles[1][] = { {"Normal"}};
YCMD:stats(playerid,params[],help) { if(IsPlayerConnected(playerid)) { new Passw = pInfo[playerid][Pass]; new Admins = pInfo[playerid][Admin]; new Vips = pInfo[playerid][Vip]; new Respects = pInfo[playerid][Respect]; new Moneys = pInfo[playerid][Money]; new Killss = pInfo[playerid][Kills]; new Deathss = pInfo[playerid][Deaths]; new Arresteds = pInfo[playerid][Arrested]; new Jaileds = pInfo[playerid][Jailed]; new Kickeds = pInfo[playerid][Kicked]; new Banneds = pInfo[playerid][Banned]; new Joineds = pInfo[playerid][Joined]; new Members = pInfo[playerid][Member]; new Leaders = pInfo[playerid][Leader]; new Houses = pInfo[playerid][House]; new Cars = pInfo[playerid][Car]; new Keyss = pInfo[playerid][Keys]; new Keys1s = pInfo[playerid][Keys1]; new Keys2s = pInfo[playerid][Keys2]; new Keys3s = pInfo[playerid][Keys3]; new Keys4s = pInfo[playerid][Keys4]; new Warneds = pInfo[playerid][Warned]; new Tickets = pInfo[playerid][Ticket]; new JoinedEvents = pInfo[playerid][JoinedEvent]; new Cookies = pInfo[playerid][Cookie]; new Skins = pInfo[playerid][Skin]; new Citys = pInfo[playerid][City]; new Scoress = pInfo[playerid][Scores]; new Fightings = pInfo[playerid][Fighting]; new Ages = pInfo[playerid][Age]; new Religions = pInfo[playerid][Religion]; new Educations = pInfo[playerid][Education]; new string[500]; format(string,sizeof(string),"Password: %s | Admin: %d | Vip: %d | Respect: %d | Money: %d | Kills: %d | Deaths: %d |",Passw,Admins,Vips,Respects,Moneys,Killss,Deathss); format(string,sizeof(string),"Arrested: %d | Jailed: %d | Kicked: %d| Banned: %d| Joined: %d| Member: %d| Leader: %d|",Arresteds,Jaileds,Kickeds,Banneds,Joineds,Members,Leaders); format(string,sizeof(string),"House: %d| Car: %d| Key: %d| Key1: %d| Key2: %d| Key3: %d| Key4: %d| Events: %d| Warns: %d| Tickets: %d| Cookies: %d|",Houses,Cars,Keyss,Keys1s,Keys2s,Keys3s,Keys4s,JoinedEvents,Warneds,Tickets,Cookies); format(string,sizeof(string),"Skin: %d| City: %d| Scores: %d| Fighting: %d| Age: %d| Religion: %d| Education: %d|",Skins,Citys,Scoress,fightingstyles[pInfo[playerid][Fighting]-1],Ages,Religions,Educations); SendClientMessage(playerid,COLOR_WHITE,string);//This line is giving errors... } return 1; }
Okay thanks
![]() Worked as charm.. But now one thing how to unhash passwod.. I'm currently useing whirpool so need to unhash to show in player stats true password. |
(652) : error 001: expected token: "]", but found ","
(641) : warning 204: symbol is assigned a value that is never used: "Fightings"
652 : format(string,sizeof(string),"Skin: %d| City: %d| Scores: %d| Fighting: %d| Age: %d| Religion: %d| Education: %d|",Skins,Citys,Scoress,fightingstyles[pInfo[playerid][Fighting]-1,Ages,Religions,Educations);
641 : new Fightings = pInfo[playerid][Fighting];