21.04.2011, 16:27
Segui o tutorial do Drakins, como ele foi banido nгo sei por que e ninguйm vai no tуpico ajudar, vim pedir ajuda aqui.
Linhas:
Final do onplayerspawn:
Agora o undefined symbol "i":
Ajuda aк, tф quase morrendo pra essas benditas.
Код:
C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(104) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(104) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(104) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(104) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(105) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(105) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(105) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(105) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(106) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(106) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(106) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(106) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(107) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(107) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(107) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(107) : warning 213: tag mismatch C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(1293) : warning 202: number of arguments does not match definition C:\Documents and Settings\Luciano\Desktop\Gaming of Life - Gang War\gamemodes\glgw.pwn(1448) : error 017: undefined symbol "i" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
pawn Код:
/*103*/ new CordGZs[GZS_CRIADAS][4] = {
/*104*/ {1356.766, -2396.403, 1596.345, -2195.068}, // Aero
/*105*/ {1493.668, -1160.76, 1847.332, -912.0523}, // Estacionamento
/*106*/ {337.6059, -1839.771, 520.142, -1666.071}, // Bar
/*107*/ {1828.318, -1287.088, 2094.516, -1113.3871} // Parque
/*108*/ };
pawn Код:
for (new i = 0; i <GZS_CRIADAS; i++) // Loop
{
/*1293*/ GangZoneShowForPlayer(GZCriadas[i],0xFFFFFFFF);
printf("Gang Zone %s criada com sucesso!",NomesGZs[i]);
}
return 1;
}
pawn Код:
if(!strcmp(cmdtext, "/dominar", true))
{
if(!IsAreaInGangCheck(playerid)) SendClientMessage(playerid, COLOR_RED, "Vocк nгo estб em nenhuma Gang Zone!");
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new name[MAX_PLAYER_NAME], string[44];
GetPlayerName(playerid, name, sizeof(name));
for (new i=0; i < GZS_CRIADAS; i++)
if (x > CordGZs[i][0] && y > CordGZs[i][1] && x < CordGZs[i][2] && y < CordGZs[i][3]&& z < 500) {
format(string, sizeof(string), "Informaзгo: %s comeзou a dominar a Gang Zone %s!",name,NomesGZs[i]);
}
SendClientMessageToAll(0xFFFF00AA, string);
/*1447*/ GangZoneFlashForAll(GZCriadas[i], GetPlayerColor(playerid))
SetTimer("Terminar",60000,false);
return 1;
}