[Tutorial] Criando GangZones Dominбveis | Versгo 3.0
#36

Pessoal sei que o tуpico й antigo,mas estou usando ele para criar uma GZ '-'
Deu alguns erros:
pawn Code:
warning: 219: local variable "string" shadows a variable at a preceding level
error: 017: undefined symbol "i"
Linhas:
pawn Code:
if(!strcmp(cmdtext, "/trdo", true))
{
    if(!IsAreaInGangCheck(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Vocк nгo estб na Mata");
    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), "%s comeзou a dominar a %s.",name,NomesGZs[i]);
    }
    SendClientMessageToAll(0xFFFF00AA, string);
>>GangZoneFlashForAll(GZCriadas[i], GetPlayerColor(playerid))
    SetTimer("Terminar",60000,false);
    return 1;
}
Reply


Messages In This Thread
Criando GangZones Dominбveis | Versгo 3.0 - by ipsBruno - 03.10.2010, 18:22
Re: Criando GangZones Dominбveis | Versгo 3.0 - by ipsBruno - 03.10.2010, 18:56
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Kasura - 03.10.2010, 19:53
Re: Criando GangZones Dominбveis | Versгo 3.0 - by HigorOliver - 03.10.2010, 20:02
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Kasura - 03.10.2010, 20:03
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Gabriel_Halls - 03.10.2010, 20:49
Re: Criando GangZones Dominбveis | Versгo 3.0 - by KevinsL - 03.10.2010, 21:17
Re: Criando GangZones Dominбveis | Versгo 3.0 - by k1t0 - 03.10.2010, 22:45
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Kasura - 03.10.2010, 23:12
Re: Criando GangZones Dominбveis | Versгo 3.0 - by StreetGT - 04.10.2010, 00:00
Re: Criando GangZones Dominбveis | Versгo 3.0 - by ipsBruno - 04.10.2010, 03:24
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Canabis - 04.10.2010, 05:19
Re: Criando GangZones Dominбveis | Versгo 3.0 - by CyNiC - 04.10.2010, 11:57
Re: Criando GangZones Dominбveis | Versгo 3.0 - by ipsBruno - 04.10.2010, 12:21
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Kasura - 04.10.2010, 12:52
Re: Criando GangZones Dominбveis | Versгo 3.0 - by HigorOliver - 04.10.2010, 13:27
Re: Criando GangZones Dominбveis | Versгo 3.0 - by ipsBruno - 04.10.2010, 13:28
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Kasura - 04.10.2010, 13:39
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Canabis - 04.10.2010, 15:55
Re: Criando GangZones Dominбveis | Versгo 3.0 - by HigorOliver - 04.10.2010, 21:04
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Kasura - 04.10.2010, 21:15
Re: Criando GangZones Dominбveis | Versгo 3.0 - by HigorOliver - 04.10.2010, 21:43
Re: Criando GangZones Dominбveis | Versгo 3.0 - by frenetico - 05.10.2010, 02:26
Re: Criando GangZones Dominбveis | Versгo 3.0 - by zSuYaNw - 05.10.2010, 03:37
Re: Criando GangZones Dominбveis | Versгo 3.0 - by ipsBruno - 05.10.2010, 04:04
Re: Criando GangZones Dominбveis | Versгo 3.0 - by zSuYaNw - 05.10.2010, 04:39
Re: Criando GangZones Dominбveis | Versгo 3.0 - by ipsBruno - 05.10.2010, 05:14
Re: Criando GangZones Dominбveis | Versгo 3.0 - by frenetico - 05.10.2010, 09:05
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Link_ - 05.10.2010, 14:28
Re: Criando GangZones Dominбveis | Versгo 3.0 - by ipsBruno - 06.10.2010, 14:25
Respuesta: Criando GangZones Dominбveis | Versгo 3.0 - by ipsBruno - 07.02.2011, 02:59
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Link_ - 07.02.2011, 13:31
Re: Criando GangZones Dominбveis | Versгo 3.0 - by lucas_mdr1235 - 09.02.2011, 17:32
Re: Criando GangZones Dominбveis | Versгo 3.0 - by apollo lima - 29.12.2011, 21:45
Re: Criando GangZones Dominбveis | Versгo 3.0 - by leonardoulhoa - 03.01.2012, 22:11
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Gabriel10101 - 23.07.2012, 00:27
Re: Criando GangZones Dominбveis | Versгo 3.0 - by DouglasRodrigues - 23.07.2012, 00:56
Re: Criando GangZones Dominбveis | Versгo 3.0 - by Bruno Alves - 08.09.2012, 17:13

Forum Jump:


Users browsing this thread: 2 Guest(s)