17.07.2011, 19:16
(
Последний раз редактировалось d0; 17.07.2011 в 22:14.
)
Fixed
----
----
pawn Код:
stock ShowStats(playerid)
{
new string[128];
new 1string[128];
new 2string[128];
new 3string[128];
new 4string[128];
new 5string[128];
new 6string[128];
new 7string[128];
new 8string[128];
new 9string[128];
new 10string[128];
new 11string[128];
new 12string[128];
new 13string[128];
new 14string[128];
new 15string[128];
new 16string[128]; //first errors
SendClientMessage(playerid, -1,""White"======================================== ===========================================");
format(string, sizeof string, "\t"Red"Name: "White"%s ", pName(playerid));
SendClientMessage(playerid, -1, string);
format(1string, sizeof 1string, "\t"Red"ID: "White"%d", playerid); //524
SendClientMessage(playerid, -1, 1string);
format(2string, sizeof 2string, "\t"Red"Admin Level: "White"%d", GetAdminLevel(playerid));
SendClientMessage(playerid, -1, 2string);
format(3string, sizeof 3string, "\t"Red"Rank: "White"%s", GetRank(playerid));
SendClientMessage(playerid, -1, 3string);
format(4string, sizeof 4string, "\t"Red"VIP: "White"%s", IsVIP(playerid));
SendClientMessage(playerid, -1, 4string);
format(5string, sizeof 5string, "\t"Red"KMA: "White"%s", IsKMA(playerid));
SendClientMessage(playerid, -1, 5string);
format(6string, sizeof 6string, "\t"Red"Score: "White"%d", PlayerInfo[playerid][pScore]);
SendClientMessage(playerid, -1, 6string);
format(7string, sizeof 7string, "\t"Red"Money: "White"%d$", PlayerInfo[playerid][pMoney]);
SendClientMessage(playerid, -1, 7string);
format(8string, sizeof 8string, "\t"Red"Kills: "White"%d", PlayerInfo[playerid][pKills]);
SendClientMessage(playerid, -1, 8string);
format(9string, sizeof 9string, "\t"Red"Deaths: "White"%d", PlayerInfo[playerid][pDeaths]);
SendClientMessage(playerid, -1, 9string);
format(10string, sizeof 10string, "\t"Red"Muted: "White"%s", IsMuted(playerid));
SendClientMessage(playerid, -1, 10string);
format(11string, sizeof 11string, "\t"Red"Jailed: "White"%s", IsJailed(playerid));
SendClientMessage(playerid, -1, 11string);
format(12string, sizeof 12string, "\t"Red"Frozen: "White"%s", IsFrozen(playerid));
SendClientMessage(playerid, -1, 12string);
format(13string, sizeof 13string, "\t"Red"Times muted: "White"%d", PlayerInfo[playerid][pMutedTimes]);
SendClientMessage(playerid, -1, 13string);
format(14string, sizeof 14string, "\t"Red"Times jailed: "White"%d", PlayerInfo[playerid][pJailedTimes]);
SendClientMessage(playerid, -1, 14string);
format(15string, sizeof 15string, "\t"Red"Times frozen: "White"%d", PlayerInfo[playerid][pFrozenTimes]);
SendClientMessage(playerid, -1, 15string);
format(16string, sizeof 16string, "\t"Red"Loggins: "White"%d", PlayerInfo[playerid][pLoggins]);
SendClientMessage(playerid, -1, 16string);
SendClientMessage(playerid, -1,""White"======================================== ===========================================");
}
pawn Код:
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(504) : error 001: expected token: "-identifier-", but found "1"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(505) : error 001: expected token: "-identifier-", but found "2"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(506) : error 001: expected token: "-identifier-", but found "3"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(507) : error 001: expected token: "-identifier-", but found "4"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(508) : error 001: expected token: "-identifier-", but found "5"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(509) : error 001: expected token: "-identifier-", but found "6"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(510) : error 001: expected token: "-identifier-", but found "7"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(511) : error 001: expected token: "-identifier-", but found "8"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(512) : error 001: expected token: "-identifier-", but found "9"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(513) : error 001: expected token: "-identifier-", but found "1"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(514) : error 001: expected token: "-identifier-", but found "1"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(515) : error 001: expected token: "-identifier-", but found "1"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(516) : error 001: expected token: "-identifier-", but found "1"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(517) : error 001: expected token: "-identifier-", but found "1"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(518) : error 001: expected token: "-identifier-", but found "1"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(519) : error 001: expected token: "-identifier-", but found "1"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(524) : error 029: invalid expression, assumed zero
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(524) : warning 215: expression has no effect
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(524) : error 020: invalid symbol name ""
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(524) : warning 215: expression has no effect
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(524) : warning 215: expression has no effect
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(524) : warning 215: expression has no effect
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(524) : error 001: expected token: ";", but found ")"
C:\Users\iMarkx\Desktop\CAS v5.0\gamemodes\CASv5.0.pwn(524) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
20 Errors.