25.10.2010, 19:55
pawn Код:
C:\Users\B\SVR\gamemodes\bpm.pwn(14450) : error 033: array must be indexed (variable "gTeam")
C:\Users\B\SVR\gamemodes\bpm.pwn(14455) : error 033: array must be indexed (variable "gTeam")
C:\Users\B\SVR\gamemodes\bpm.pwn(14463) : error 017: undefined symbol "BALLAS"
C:\Users\B\SVR\gamemodes\bpm.pwn(14468) : error 017: undefined symbol "GROOVE"
C:\Users\B\SVR\gamemodes\bpm.pwn(56353) : error 017: undefined symbol "TEAM_GROOVE"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
pawn Код:
//Gangzone
if (strcmp("/dominar", cmdtext, true, 10) == 0)
{
if(IsPlayerInPlace(playerid,2239.024,-1721.339, 2512.828, -1638.437))
{
if(gTeam == Ballas)
{
GangZoneFlashForAll(Groove,COR_BALLAS);
SetTimer("DominarBallasGroove",60000,false);
}
else if(gTeam == Groove)
{
GangZoneFlashForAll(Groove,COR_GROOVE);
SetTimer("DominarGrooveGroove",60000,false);
}
}
else if(IsPlayerInPlace(playerid,2282.1401,2425.7576,3.4692,357.7160))
{
if(gTeam == BALLAS)
{
GangZoneFlashForAll(Groove,COR_BALLAS);
SetTimer("DominarBallasBallas",60000,false);
}
else if(gTeam == GROOVE)
{
GangZoneFlashForAll(Groove,COR_GROOVE);
SetTimer("DominarGrooveBallas",60000,false);
}
}
return 1;
}
GangZoneHideForAll(Ballas);