26.02.2010, 08:57
If i compile i get these errors:
This are the lines:
Код:
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(1983) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(1987) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(1991) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(1995) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(1999) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2003) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2007) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2011) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2015) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2019) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2023) : error 004: function "CrimProxDetector" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2039) : error 004: function "BestPlayer" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2045) : error 004: function "BestPlayer" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2050) : error 004: function "BestPlayer" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2055) : error 004: function "DMPlayer" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2061) : error 004: function "DMPlayer" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2067) : error 004: function "DMPlayer" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2073) : error 004: function "RaceSpec" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2079) : error 004: function "RaceSpec" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2085) : error 004: function "RaceSpec" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2091) : error 004: function "PenDelay" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2097) : error 004: function "PenDelay" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2103) : error 004: function "PenDelay" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2109) : error 004: function "SpeedDelay" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2115) : error 004: function "SpeedDelay" is not implemented C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2121) : error 004: function "SpeedDelay" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Код:
public CopScanner() { for(new i=0; i<MAX_PLAYERS; i++) { if (IsPlayerConnected(i) && gTeam[i] >= 4 && gPublicEnemy != i && gSuperCop != i && Hidden[i] !=1) { if(gTeam[i] == 4) { CrimProxDetector(radardist, i,TEAM_ORANGE1_COLOR,TEAM_ORANGE2_COLOR,TEAM_ORANGE3_COLOR,TEAM_ORANGE4_COLOR,TEAM_ORANGE5_COLOR,TEAM_ORANGE6_COLOR,TEAM_ORANGE7_COLOR,TEAM_ORANGE8_COLOR,TEAM_ORANGE9_COLOR,TEAM_ORANGE10_COLOR); } if(gTeam[i] == 5) { CrimProxDetector(radardist, i,TEAM_BALLAS1_COLOR,TEAM_BALLAS2_COLOR,TEAM_BALLAS3_COLOR,TEAM_BALLAS4_COLOR,TEAM_BALLAS5_COLOR,TEAM_BALLAS6_COLOR,TEAM_BALLAS7_COLOR,TEAM_BALLAS8_COLOR,TEAM_BALLAS9_COLOR,TEAM_BALLAS10_COLOR); } if(gTeam[i] == 6) { CrimProxDetector(radardist, i,TEAM_GROVE1_COLOR,TEAM_GROVE2_COLOR,TEAM_GROVE3_COLOR,TEAM_GROVE4_COLOR,TEAM_GROVE5_COLOR,TEAM_GROVE6_COLOR,TEAM_GROVE7_COLOR,TEAM_GROVE8_COLOR,TEAM_GROVE9_COLOR,TEAM_GROVE10_COLOR); } if(gTeam[i] == 7) { CrimProxDetector(radardist, i,TEAM_VAGOS1_COLOR,TEAM_VAGOS2_COLOR,TEAM_VAGOS3_COLOR,TEAM_VAGOS4_COLOR,TEAM_VAGOS5_COLOR,TEAM_VAGOS6_COLOR,TEAM_VAGOS7_COLOR,TEAM_VAGOS8_COLOR,TEAM_VAGOS9_COLOR,TEAM_VAGOS10_COLOR); } if(gTeam[i] == 8) { CrimProxDetector(radardist, i,TEAM_AZTECAS1_COLOR,TEAM_AZTECAS2_COLOR,TEAM_AZTECAS3_COLOR,TEAM_AZTECAS4_COLOR,TEAM_AZTECAS5_COLOR,TEAM_AZTECAS6_COLOR,TEAM_AZTECAS7_COLOR,TEAM_AZTECAS8_COLOR,TEAM_AZTECAS9_COLOR,TEAM_AZTECAS10_COLOR); } if(gTeam[i] == 9) { CrimProxDetector(radardist, i,TEAM_NANG1_COLOR,TEAM_NANG2_COLOR,TEAM_NANG3_COLOR,TEAM_NANG4_COLOR,TEAM_NANG5_COLOR,TEAM_NANG6_COLOR,TEAM_NANG7_COLOR,TEAM_NANG8_COLOR,TEAM_NANG9_COLOR,TEAM_NANG10_COLOR); } if(gTeam[i] == 10) { CrimProxDetector(radardist, i,TEAM_RIFA1_COLOR,TEAM_RIFA2_COLOR,TEAM_RIFA3_COLOR,TEAM_RIFA4_COLOR,TEAM_RIFA5_COLOR,TEAM_RIFA6_COLOR,TEAM_RIFA7_COLOR,TEAM_RIFA8_COLOR,TEAM_RIFA9_COLOR,TEAM_RIFA10_COLOR); } if(gTeam[i] == 11) { CrimProxDetector(radardist, i,TEAM_MAFIA1_COLOR,TEAM_MAFIA2_COLOR,TEAM_MAFIA3_COLOR,TEAM_MAFIA4_COLOR,TEAM_MAFIA5_COLOR,TEAM_MAFIA6_COLOR,TEAM_MAFIA7_COLOR,TEAM_MAFIA8_COLOR,TEAM_MAFIA9_COLOR,TEAM_MAFIA10_COLOR); } if(gTeam[i] == 12) { CrimProxDetector(radardist, i,TEAM_RMAFIA1_COLOR,TEAM_RMAFIA2_COLOR,TEAM_RMAFIA3_COLOR,TEAM_RMAFIA4_COLOR,TEAM_RMAFIA5_COLOR,TEAM_RMAFIA6_COLOR,TEAM_RMAFIA7_COLOR,TEAM_RMAFIA8_COLOR,TEAM_RMAFIA9_COLOR,TEAM_RMAFIA10_COLOR); } if(gTeam[i] == 13) { CrimProxDetector(radardist, i,TEAM_TRIADS1_COLOR,TEAM_TRIADS2_COLOR,TEAM_TRIADS3_COLOR,TEAM_TRIADS4_COLOR,TEAM_TRIADS5_COLOR,TEAM_TRIADS6_COLOR,TEAM_TRIADS7_COLOR,TEAM_TRIADS8_COLOR,TEAM_TRIADS9_COLOR,TEAM_TRIADS10_COLOR); } if(gTeam[i] == 14) { CrimProxDetector(radardist, i,TEAM_BIKERS1_COLOR,TEAM_BIKERS2_COLOR,TEAM_BIKERS3_COLOR,TEAM_BIKERS4_COLOR,TEAM_BIKERS5_COLOR,TEAM_BIKERS6_COLOR,TEAM_BIKERS7_COLOR,TEAM_BIKERS8_COLOR,TEAM_BIKERS9_COLOR,TEAM_BIKERS10_COLOR); } } } } public Spectator() { for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i) == 1) { if(TVMode[i] >= 1 && TVMode[i] <= 5) { Unspec[i][sCam] = 2; TVMode[i]++; BestPlayer(i); } if(TVMode[i] >= 6 && TVMode[i] <= 9) { Unspec[i][sCam] = 3; TVMode[i]++; BestPlayer(i); } if(TVMode[i] == 10) { TVMode[i] = 1; BestPlayer(i); Unspec[i][sCam] = random(4); } if(TVMode[i] >= 11 && TVMode[i] <= 15) { DMPlayer(i); Unspec[i][sCam] = 2; TVMode[i]++; } if(TVMode[i] >= 16 && TVMode[i] <= 19) { DMPlayer(i); Unspec[i][sCam] = 3; TVMode[i]++; } if(TVMode[i] == 20) { DMPlayer(i); TVMode[i] = 11; Unspec[i][sCam] = random(4); } if(TVMode[i] >= 21 && TVMode[i] <= 25) { RaceSpec(i); Unspec[i][sCam] = 2; TVMode[i]++; } if(TVMode[i] >= 26 && TVMode[i] <= 29) { RaceSpec(i); Unspec[i][sCam] = 3; TVMode[i]++; } if(TVMode[i] == 30) { RaceSpec(i); TVMode[i] = 21; Unspec[i][sCam] = random(4); } if(TVMode[i] >= 31 && TVMode[i] <= 35) { PenDelay(i); Unspec[i][sCam] = 2; TVMode[i]++; } if(TVMode[i] >= 36 && TVMode[i] <= 39) { PenDelay(i); Unspec[i][sCam] = 3; TVMode[i]++; } if(TVMode[i] == 40) { PenDelay(i); TVMode[i] = 31; Unspec[i][sCam] = random(4); } if(TVMode[i] >= 41 && TVMode[i] <= 45) { SpeedDelay(i); Unspec[i][sCam] = 2; TVMode[i]++; } if(TVMode[i] >= 46 && TVMode[i] <= 49) { SpeedDelay(i); Unspec[i][sCam] = 3; TVMode[i]++; } if(TVMode[i] == 50) { SpeedDelay(i); TVMode[i] = 41; Unspec[i][sCam] = random(4); }