09.06.2011, 22:27
I'm having a problem with a command of a master gangzone.
Error:
The error persists in the lines:
Sorry, i'm from Brazil.
PHP код:
if(!strcmp("/do", cmdtext, true) || !strcmp("/dominar", cmdtext, true))//Se: O comando digitado for /do ou /dominar...
{
new String[128];
if(IsPlayerInPistaDeSkate(playerid))
{
if(Dominando[playerid] != 0)
{
SendClientMessage(playerid, 0x666666FF, "Vocк jб esta dominando uma GangZone.");
return 1;
}
if(PistaSendoDominada != 0)
{
SendClientMessage(playerid, 0x666666FF, "A Pista de Skate jб esta sendo dominado.");
return 1;
}
if(DonoPista == GROVE)
{
SendClientMessage(playerid, 0x666666FF, "A Pista de Skate jб й da sua Gang.");
}
format(string, sizeof(string), "[INFORMAЗГO] O Player %s e a Gangue Grove Street estгo dominando a {FFF00F}Pista de Skate.", sendername);
SendClientMessageToAll(GROVE_COLOR, string);
GangZoneFlashForAll(GZPista, GROVE_COLOR);
SetTimerEx("DominarPista", 30000, false, "i", playerid);
PistaSendoDominada = 1;
Dominando[playerid] = 1;
return 1;
}
else if(DonoPista == BALLAS)
{
SendClientMessage(playerid, 0x666666FF, "A Pista de Skate jб й da sua Gang.");
}
format(string, sizeof(string), "[INFORMAЗГO] O Player %s e a Gangue Ballas estгo dominando a {FFF00F}Pista de Skate.", sendername);
SendClientMessageToAll(BALLAS_COLOR, string);
GangZoneFlashForAll(GZPista, BALLAS_COLOR);
SetTimerEx("DominarPista", 30000, false, "i", playerid);
PistaSendoDominada = 1;
Dominando[playerid] = 1;
return 1;
}
else if(DonoPista == LOSAZTECAS)
{
SendClientMessage(playerid, 0x666666FF, "A Pista de Skate jб й da sua Gang.");
}
format(string, sizeof(string), "[INFORMAЗГO] O Player %s e a Gangue Los Aztecas estгo dominando a {FFF00F}Pista de Skate.", sendername);
SendClientMessageToAll(AZTECAS_COLOR, string);
GangZoneFlashForAll(GZPista, AZTECAS_COLOR);
SetTimerEx("DominarPista", 30000, false, "i", playerid);
PistaSendoDominada = 1;
Dominando[playerid] = 1;
return 1;
}
else//Se o Jogador nгo estivem em nem uma gang zone...
{
SendClientMessage(playerid, 0x666666FF, "Vocк nгo esta em uma GangZone.");
return 1;
}
}
return 1;
}
Код:
C:\Documents and Settings\Luciano\Desktop\Servidores\Gaming of Life - Gang War\gamemodes\glgw.pwn(2208) : error 017: undefined symbol "string" C:\Documents and Settings\Luciano\Desktop\Servidores\Gaming of Life - Gang War\gamemodes\glgw.pwn(2208) : error 017: undefined symbol "string" C:\Documents and Settings\Luciano\Desktop\Servidores\Gaming of Life - Gang War\gamemodes\glgw.pwn(2208) : error 029: invalid expression, assumed zero C:\Documents and Settings\Luciano\Desktop\Servidores\Gaming of Life - Gang War\gamemodes\glgw.pwn(2208) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
PHP код:
format(string, sizeof(string), "[INFORMAЗГO] O Player %s e a Gangue Grove Street estгo dominando a {FFF00F}Pista de Skate.", sendername);
format(string, sizeof(string), "[INFORMAЗГO] O Player %s e a Gangue Ballas estгo dominando a {FFF00F}Pista de Skate.", sendername);
format(string, sizeof(string), "[INFORMAЗГO] O Player %s e a Gangue Los Aztecas estгo dominando a {FFF00F}Pista de Skate.", sendername);