Another error...
#1

Please help me for with error:
pawn Код:
D:\Games\GABY\SAMPP\utile\1.11.2011\OnSpeed MOD\gamemodes\Nus bune\OnSpeed.pwn(2158) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Games\GABY\SAMPP\utile\1.11.2011\OnSpeed MOD\gamemodes\Nus bune\OnSpeed.pwn(2158) : warning 215: expression has no effect
D:\Games\GABY\SAMPP\utile\1.11.2011\OnSpeed MOD\gamemodes\Nus bune\OnSpeed.pwn(2158) : error 001: expected token: ";", but found ")"
D:\Games\GABY\SAMPP\utile\1.11.2011\OnSpeed MOD\gamemodes\Nus bune\OnSpeed.pwn(2158) : error 029: invalid expression, assumed zero
D:\Games\GABY\SAMPP\utile\1.11.2011\OnSpeed MOD\gamemodes\Nus bune\OnSpeed.pwn(2158) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Linies: 2148-2192
pawn Код:
if(Spectate[i] == 253)
            {
                TogglePlayerControllable(i, 1);
                TogglePlayerSpectating(i, 0);
                SetPlayerInterior(i,Unspec[i][sPint]);
                PlayerInfo[i][pInt] = Unspec[i][sPint];
                PlayerInfo[i][pLocal] = Unspec[i][sLocal];
                Unspec[i][sLocal] = 255;
                SetSpawnInfo(i, PlayerInfo[i][pTeam], PlayerInfo[i][pModel], Unspec[i][sPx],  Unspec[i][sPy], Unspec[i][sPz]-1.0, 1.0, -1, -1, -1, -1, -1, -1);
                gTeam[i] = PlayerInfo[i][pTeam];
                SetPlayerToTeamColor(%i);
                MedicBill[i] = 0;
                if(PlayerInfo[i][pDonateRank] > 0)
                {
                    SetSpawnInfo(i, PlayerInfo[i][pTeam], PlayerInfo[i][pModel], Unspec[i][Coords][0], Unspec[i][Coords][1], Unspec[i][Coords][2], 10.0, -1, -1, -1, -1, -1, -1);
                    SpawnPlayer(i);
                    SetCameraBehindPlayer(i);
                }
                else
                {
                    SpawnPlayer(i);
                }
                Spectate[i] = 255;
            }
            if(Spectate[i] == 254)
            {
                TogglePlayerControllable(i, 1);
                SetPlayerInterior(i,Unspec[i][sPint]);
                PlayerInfo[i][pInt] = Unspec[i][sPint];
                PlayerInfo[i][pLocal] = Unspec[i][sLocal];
                SetPlayerPos(i, Unspec[i][sPx],  Unspec[i][sPy], Unspec[i][sPz]);
                Spectate[i] = 255;
            }
            if(Spectate[i] == 256)
            {
                SetPlayerToTeamColor(%i);
                Spectate[i] = 255;
            }
            if(Spectate[i] == 257)
            {
                Spectate[i] = 254;
            }
        }
    }
}
Reply


Messages In This Thread
Another error... - by Gaby29 - 21.11.2011, 13:37
Re: Another error... - by SomebodyAndMe - 21.11.2011, 13:40
Re: Another error... - by Alberto_DR - 21.11.2011, 13:41
Re: Another error... - by Gaby29 - 21.11.2011, 13:43
Re: Another error... - by AndreT - 21.11.2011, 13:44
Re: Another error... - by Gaby29 - 21.11.2011, 13:46
Re: Another error... - by Gaby29 - 21.11.2011, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)