[Ajuda] [AJUDA] gotoof e gotoon bugado!
#6

Quote:
Originally Posted by best95
Посмотреть сообщение
ERRO!

error 017: undefined symbol "ALVO"
Й porque a variavel "ALVO" que dei foi sу um exemplo. Todo comando tem seus parametros e variaveis.

Olhe um exemplo bбsico do GOTO que fiz com a variбvel "ALVO".

pawn Код:
CMD:goto(playerid, params[])
{
        // Criei esse comando com a variavel "ALVO", ou seja, vou para o jogador de ID "ALVO"
    new ALVO, Float:x, Float:y, Float:z;
   
    if(IsPlayerConnected(ALVO)) //  Se o "ALVO" estiver conectado...
    {
        GetPlayerPos(ALVO, x, y, z);
        if(bloqueado [ALVO] == true) return 0; // Se o "ALVO" tiver bloqueado o GOTO, nada acontece.
        else SetPlayerPos(playerid, x, y, z); // Caso contrбrio, irei atй o "ALVO"
    }
   
    return 1;
}
Reply


Messages In This Thread
[AJUDA] gotoof e gotoon bugado! - by best95 - 23.04.2014, 02:28
Re: [AJUDA] gotoof e gotoon bugado! - by Fel486 - 23.04.2014, 02:33
Re: [AJUDA] gotoof e gotoon bugado! - by best95 - 23.04.2014, 02:45
Re: [AJUDA] gotoof e gotoon bugado! - by Fel486 - 23.04.2014, 02:47
Re: [AJUDA] gotoof e gotoon bugado! - by best95 - 23.04.2014, 02:50
Re: [AJUDA] gotoof e gotoon bugado! - by Fel486 - 23.04.2014, 02:55
Re: [AJUDA] gotoof e gotoon bugado! - by best95 - 23.04.2014, 02:59

Forum Jump:


Users browsing this thread: 2 Guest(s)