09.02.2011, 17:32
AJUDA
linha 163
linha 759
linha 1760
pawn Code:
D:\Servers\GTA Samp\gamemodes\EmConstruзao.pwn(163) : error 052: multi-dimensional arrays must be fully initialized
D:\Servers\GTA Samp\gamemodes\EmConstruзao.pwn(759) : warning 202: number of arguments does not match definition
D:\Servers\GTA Samp\gamemodes\EmConstruзao.pwn(1760) : error 017: undefined symbol "i"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
pawn Code:
new CordGZs[GZS_CRIADAS][4] =
{
{2217,1901,2333,2013},
{1875,641,1978,764},
{-2201,-281,-2011,-80},
{-2015,1375,-1799,1601}
>>>> };
pawn Code:
for (new i = 0; i <GZS_CRIADAS; i++) // Loop
{
>>>> GangZoneShowForPlayer(GZCriadas[i],COLOR_WHITE);
printf("Gang Zone %s Criada com sucesso",NomesGZs[i]);
}
pawn Code:
if(strcmp(cmd, "/dominar", true) == 0)
{
if(!IsAreaInGangCheck(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Vocк nгo estб em nenhuma Gang Zone,FAIL");
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new name[MAX_PLAYER_NAME];
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), "%s comeзou a dominar a gang zone %s.",name,NomesGZs[i]);
}
SendClientMessageToAll(0xFFFF00AA, string);
>>>> GangZoneFlashForAll(GZCriadas[i], GetPlayerColor(playerid))
SetTimer("Terminar",60000,false);
return 1;
}