[ajuda]erros ao criar gangzones[ajuda]
#1

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.
Linhas ~~>
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);
Reply
#2

tenta ai

pawn Код:
#define GROOVE 1
#define BALLA 2
Reply
#3

Vocк tem que definir.

Topo GM:
pawn Код:
#define GROOVE  0
#define BALLAS  1
#define TEAM_GROOVE 2
Reply
#4

pawn Код:
C:\Users\B\SVR\gamemodes\bpm.pwn(14452) : error 033: array must be indexed (variable "gTeam")
C:\Users\B\SVR\gamemodes\bpm.pwn(14457) : error 033: array must be indexed (variable "gTeam")
C:\Users\B\SVR\gamemodes\bpm.pwn(14465) : error 033: array must be indexed (variable "gTeam")
C:\Users\B\SVR\gamemodes\bpm.pwn(14470) : error 033: array must be indexed (variable "gTeam")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
??
Reply
#5

pawn Код:
gTeam[playerid]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)