A lot of errors!Please some help
#1

Codes:
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);
            }
       }
Errors:
Код:
(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
Reply


Messages In This Thread
A lot of errors!Please some help - by deqn_0000 - 27.07.2011, 20:38
Re: A lot of errors!Please some help - by Cyanide - 27.07.2011, 20:56
Re: A lot of errors!Please some help - by deqn_0000 - 27.07.2011, 21:11
Re: A lot of errors!Please some help - by Cyanide - 27.07.2011, 23:06
Re: A lot of errors!Please some help - by deqn_0000 - 27.07.2011, 23:13
Re: A lot of errors!Please some help - by emokidx - 28.07.2011, 11:16
Re: A lot of errors!Please some help - by deqn_0000 - 28.07.2011, 11:45
Re: A lot of errors!Please some help - by bob_dillan - 28.07.2011, 11:54
Re: A lot of errors!Please some help - by deqn_0000 - 28.07.2011, 12:08
Re: A lot of errors!Please some help - by Cyanide - 02.08.2011, 15:20

Forum Jump:


Users browsing this thread: 2 Guest(s)