17.08.2011, 18:12
Oi, quando tento compilar a gm, da os seguintes erros:
Pelo que andei pesquisando, esses erros ocorrem quando falta um "{" ou "}" ... Й osso de encontrar.
Quando eu tiro isso:
Ele compila normalmente, sem algum erro.
Quote:
C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\pawno\include\servermoneyGM.inc(16) : error 004: function "GMExit" is not implemented C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\pawno\include\servermoneyGM.inc(47) : error 004: function "OnPlayerHaveExtraCash" is not implemented C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(864) : error 004: function "SaveCars" is not implemented C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(3322) : error 017: undefined symbol "ResetPlayerWeaponsEx" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(336 : error 017: undefined symbol "ResetPlayerWeaponsEx" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(4341) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(4361) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(438 : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(4406) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(4894) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(4936) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(497 : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5020) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5049) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(507 : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5107) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5136) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5165) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5213) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5242) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5293) : error 017: undefined symbol "IsNumero" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5326) : error 017: undefined symbol "GetPlayerOrg" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5376) : error 017: undefined symbol "GetPlayerOrg" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5393) : error 017: undefined symbol "GetPlayerOrg" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5410) : error 017: undefined symbol "GetPlayerOrg" C:\Documents and Settings\Administrador.CASA.000\Desktop\GM BSG\gamemodes\Gmy.pwn(5427) : error 017: undefined symbol "GetPlayerOrg" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. |
Quando eu tiro isso:
Quote:
if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)// PM { if(IsPlayerInParque(playerid)) { if(Dominando[playerid] == 1) { MSGPLAYER(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "%s e a Policia Militar estгo dominando o Parque Glen!",playername); MSGPARATODOS(COR_PM, string); MSGPLAYER(playerid, COLOR_GRAD3, "Fique esperto, todas as gangues foram avisadas!"); MSGPLAYER(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area ."); GangZoneFlashForAll(GZParque,GCOP_COLOR); Dominando[playerid] = 1; return 1; } else { MSGPLAYER(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!"); } return 1; } if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)// PC { if(IsPlayerInParque(playerid)) { if(Dominando[playerid] == 1) } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "%s e a Policia Civil estгo dominando o Parque Glen!",playername); MSGPARATODOS(COR_PC, string); MSGPLAYER(playerid, COR_PC, "Fique esperto, todas as gangues foram avisadas!"); MSGPLAYER(playerid, COR_PC, "Espere 1 minuto para dominar estб area ."); GangZoneFlashForAll(GZParque,COR_PC); Dominando[playerid] = 1; return 1; } else { MSGPLAYER(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!"); } return 1; } if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)// B.O.P.E { if(IsPlayerInParque(playerid)) { if(Dominando[playerid] == 1) } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "%s e a ROTA estгo dominando o Parque Glen!",playername); MSGPARATODOS(COR_PR, string); MSGPLAYER(playerid, COR_PR, "Fique esperto, todas as gangues foram avisadas!"); MSGPLAYER(playerid, COR_PR, "Espere 1 minuto para dominar estб area ."); GangZoneFlashForAll(GZParque,COR_PR); Dominando[playerid] = 1; return 1; } else { MSGPLAYER(playerid, COR_PR, "Vocк nгo estб em nenhum territуrio!"); } return 1; } if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)// Los Aztecas { if(IsPlayerInParque(playerid)) { if(Dominando[playerid] == 1) { MSGPLAYER(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "%s e os Los Aztecas estгo dominando o Parque Glen!",playername); MSGPARATODOS(TEAM_AZTECAS_COLOR, string); MSGPLAYER(playerid, COLOR_GRAD3, "Fique esperto, A Polнcia e todas as gangues foram avisadas!"); MSGPLAYER(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area ."); GangZoneFlashForAll(GZParque,TEAM_AZTECAS_COLOR); Dominando[playerid] = 1; return 1; } else { MSGPLAYER(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!"); } return 1; } if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)// CV { if(IsPlayerInParque(playerid)) { if(Dominando[playerid] == 1) { MSGPLAYER(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "%s e o Comando Vermelho estгo dominando o Parque Glen!",playername); MSGPARATODOS(0xF6000000, string); MSGPLAYER(playerid, COLOR_GRAD3, "Fique esperto, A Polнcia e todas as gangues foram avisadas!"); MSGPLAYER(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area ."); GangZoneFlashForAll(GZParque,0xF60000AA); Dominando[playerid] = 1; return 1; } else { MSGPLAYER(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!"); } return } if(PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20)// PCC { if(IsPlayerInParque(playerid)) { if(Dominando[playerid] == 1) { MSGPLAYER(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "%s e o Primeiro Comando da Capital estгo dominando o Parque Glen!",playername); MSGPARATODOS(0xCCFF99FF, string); MSGPLAYER(playerid, COLOR_GRAD3, "Fique esperto, A Polнcia e todas as gangues foram avisadas!"); MSGPLAYER(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area ."); GangZoneFlashForAll(GZParque,0xCCFF99AA); Dominando[playerid] = 1; return 1; } else { MSGPLAYER(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!"); } return 1; } if(PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14)// Groove Street { if(IsPlayerInParque(playerid)) { if(Dominando[playerid] == 1) { MSGPLAYER(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "%s e a Groove Street estгo dominando o Parque Glen!",playername); MSGPARATODOS(TEAM_GROVE_COLOR, string); MSGPLAYER(playerid, COLOR_GRAD3, "Fique esperto, A Polнcia e todas as gangues foram avisadas!"); MSGPLAYER(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area ."); GangZoneFlashForAll(GZParque,TEAM_GROVE_COLOR); Dominando[playerid] = 1; return 1; } else { MSGPLAYER(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!"); } return 1; } if(PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17)// Ballas { if(IsPlayerInParque(playerid)) { if(Dominando[playerid] == 1) { MSGPLAYER(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "%s e os Ballas estгo dominando o Parque Glen!",playername); MSGPARATODOS(TEAM_BALLAS_COLOR, string); MSGPLAYER(playerid, COLOR_GRAD3, "Fique esperto, A Polнcia e todas as gangues foram avisadas!"); MSGPLAYER(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area ."); GangZoneFlashForAll(GZParque,TEAM_BALLAS_COLOR); Dominando[playerid] = 1; return 1; } else { MSGPLAYER(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!"); } return 1; } if(PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 1// Los Vagos { if(IsPlayerInParque(playerid)) { if(Dominando[playerid] == 1) { MSGPLAYER(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio."); return 1; } GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string), "%s e o Vagos estгo dominando o Parque Glen!",playername); MSGPARATODOS(TEAM_VAGOS_COLOR, string); MSGPLAYER(playerid, COLOR_GRAD3, "Fique esperto, A Polнcia e todas as gangues foram avisadas!"); MSGPLAYER(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area ."); GangZoneFlashForAll(GZParque,TEAM_VAGOS_COLOR); Dominando[playerid] = 1; return 1; } else { MSGPLAYER(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!"); } return 1; } |