SA-MP Forums Archive
[Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint (/showthread.php?tid=336034)



[Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint - Luciano* - 20.04.2012

Galera, antes de tudo eu procurei no ****** e no negуcio de busca do forum, preciso de um tutorial de como fazer gz's dominaveis por checkpoint, tem esse aqui : https://sampforum.blast.hk/showthread.php?tid=182748 , Mais um amigo me disse que tem um jeito muito mais simpes de se fazer isso, alguem sabe se tem esse jeito mesmo? se tiver qual seria ele?

+rep para quem ajudar.


Re: [Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint - @Riichard - 20.04.2012

Esse aqui
e facinho..
https://sampforum.blast.hk/showthread.php?tid=143646
e tem esse
https://sampforum.blast.hk/showthread.php?tid=181017


Respuesta: [Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint - Luciano* - 20.04.2012

mais esse ai e por comando /dominar, quero por checkpoint.

@Edit, pensando bem vou usar este ai mesmo. obrigado,


Re: Respuesta: [Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint - @Riichard - 20.04.2012

Quote:
Originally Posted by Luciano*
Посмотреть сообщение
mais esse ai e por comando /dominar, quero por checkpoint.

@Edit, pensando bem vou usar este ai mesmo. obrigado,
Denada


Respuesta: [Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint - Luciano* - 20.04.2012

Alguem sabe resolver este erro?

Erro:
pawn Код:
error 001: expected token: ";", but found "-identifier-"
Linha:
pawn Код:
SetTimer("Terminar",60000,false);
Comando completo:
pawn Код:
CMD:dominar(playerid, params[])
{
    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], 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 gang zone %s.",name,NomesGZs[i]);
    }
    SendClientMessageToAll(0xFFFF00AA, string);
    for (new i=0; i < GZS_CRIADAS; i++)
    GangZoneFlashForAll(GZCriadas[i], GetPlayerColor(playerid))
    SetTimer("Terminar",60000,false);
    return 1;
}



Re: [Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint - ReDKiiL - 20.04.2012

pawn Код:
CMD:dominar(playerid, params[])
{
    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], 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 gang zone %s.",name,NomesGZs[i]);
    }
    SendClientMessageToAll(0xFFFF00AA, string);
    for (new i=0; i < GZS_CRIADAS; i++)
    GangZoneFlashForAll(GZCriadas[i], GetPlayerColor(playerid));
    SetTimer("Terminar",60000,false);
    return 1;
}



Respuesta: [Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint - Luciano* - 20.04.2012

Alguem tem um tutorial de como criar em checkpoint? mais que realmente funcione!


Re: [Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint - Gustavo_z - 21.04.2012

Vc estб dizendo um criador de Checkpoint? Se for isso, estб aqui https://sampforum.blast.hk/showthread.php?tid=313360


Respuesta: [Pedido] Tutorial, como fazer GZ's dominaveis por Checkpoint - Luciano* - 21.04.2012

Nao, estou dizendo GZ dominavel por Checkpoint, tipo voce tem que ficar alguns segundos no checkpoint para dominar o local.