SA-MP Forums Archive
[Ajuda] X1 - 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: [Ajuda] X1 (/showthread.php?tid=382705)



X1 - Owtsiixx_Twd - 04.10.2012

Tipo Criei Esse Comando Aqui nem sei se tб certo mais atй ai tudo bem agr eu qero saber como eu crio um comando /sair pro player sair do x1 ou se nao quando ele morrer tbm ... os dois sair do x1 como faz isso ai meu comando \/

pawn Код:
CMD:x1w(playerid, params[])
{
    new nome[24];
    GetPlayerName(playerid, nome, sizeof(nome));
    new string[200];
    if(tax1[playerid] == true) return SendClientMessage(playerid, x1, "[ERRO]: Vocк Jб Estб Em Uma Arena (/sair)");
    if(playersx1 == 2) return SendClientMessage(playerid, x1, "[ERRO]: Jб Tem 2 Players Nб Arena Aguarde...");
    SetPlayerPos(playerid,1412.639892,-1.787510,1000.924377);
    SetPlayerInterior(playerid,1);
    playersx1 ++;
    tax1[playerid] = true;
    GivePlayerWeapon(playerid,31, 9999);
    GivePlayerWeapon(playerid,24, 9999);
    GivePlayerWeapon(playerid,34, 9999);
    format(string, sizeof(string),"[X1]: O Jogador %s Foi Para a Arena De x1 Walk Quem Quiser Ir Use: /x1w", nome);
    SendClientMessageToAll(x1,string);
    return 1;
}



Re: X1 - Ouro - 04.10.2012

pawn Код:
CMD:sair(playerid)
{
    new String[128], Nome[24];
    GetPlayerName(playerid, Nome, sizeof(Nome));

    format(String, sizeof(String), "O jogador: (%d) %s saiu da бrea de Death Match!", playerid, Nome); SendClientMessageToAll(-1, String);

    playersx1 --;

    ResetPlayerWeapons(playerid);

    SetPlayerPos(playerid, X, Y, Z);
    return 1;
}



Re: X1 - Joao Pedro - 04.10.2012

Qualй dessa sua assinatura ae?


Re: X1 - toxiic - 04.10.2012

Quote:
Originally Posted by Joao Pedro
Посмотреть сообщение
Qualй dessa sua assinatura ae?
Pervertido