27.07.2011, 20:38
(
Последний раз редактировалось deqn_0000; 28.07.2011 в 15:44.
)
Codes:
Errors:
pawn Код:
(1)
new Float:gBallaSP[3][4] = { //Line 387
{1700.44, -1514.54, 13.38},//Spawn1
{1706.92, -1527.90, 13.55},//Spawn2
{1693.10, -1491.20, 13.55},//Spawn3
{1695.63, -1548.36, 13.38},//Spawn4
}
__________________________________________________________________________________
(2)
enum pSpec //Line 523
{
Float:Coords[3],
Float:sPx,
Float:sPy,
Float:sPz,
sPint,
sLocal,
Float:sAngle,
sVw,
sCam,
};
new Unspec[MAX_PLAYERS][pSpec];
________________________________________________________________________________________
(3)
case TEAM_TRIADS:
{
SetPlayerPos(playerid,gTriadsSP[rand][0],gTriadsSP[rand][1],gTriadsP[rand][2]); //Line 2237
SetPlayerFacingAngle(playerid,gTriadsSP[rand][3]);
SetCameraBehindPlayer(playerid);
if(PlayerInfo[playerid][pRank] == 6)
{
SetPlayerSkin(playerid, 294);
}
else if(PlayerInfo[playerid][pRank] == 5)
{
SetPlayerSkin(playerid, 126);
}
else if(PlayerInfo[playerid][pRank] == 4)
{
SetPlayerSkin(playerid, 124);
}
else if(PlayerInfo[playerid][pRank] == 3)
{
SetPlayerSkin(playerid, 125);
}
else if(PlayerInfo[playerid][pRank] == 2)
{
SetPlayerSkin(playerid, 127);
}
else if(PlayerInfo[playerid][pRank] == 1)
{
SetPlayerSkin(playerid, 171);
}
}
Код:
(387) : error 001: expected token: ";", but found "new" (523) : error 001: expected token: ";", but found "enum" (2237) : error 017: undefined symbol "gTriadsSP" (2237) : warning 215: expression has no effect (2237) : error 001: expected token: ";", but found "]" (2237) : error 029: invalid expression, assumed zero (2237) : fatal error 107: too many error messages on one line