[Ajuda] Portão
#1

Bom, Meu portão fica Torto ao Logar no Server, Print:



Meu FilterScript do Portão:

pawn Код:
// Portão Tutorial ******* - By BUGVIP //
#include <a_samp>

new Portao;

#define Vermelho 0xFF0000AA
#define Amarelo 0xFFFF00AA


public OnFilterScriptInit()
{
    Portao = CreateObject(980, 321, -1188.3896484375, 78, 0, 0, 21799621582031);
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{

//----------------------------
    if (strcmp("/abrir", cmdtext, true, 10) == 0)
    {
        if(!IsPlayerAdmin(playerid))
        {
            MoveObject(Portao, 330.2998046875, -1180.599609375, 78,5.0);
            SendClientMessage(playerid, 0xFFFF00AA, "[CASA]Bem Vindo Ungreli_Silva");
            return 1;
        }
    }
//----------------------------
    if (strcmp("/fechar", cmdtext, true, 10) == 0)
    {
        if(!IsPlayerAdmin(playerid))
        {
            MoveObject(Portao, 321, -1188.3896484375, 78, 5.0);
            SendClientMessage(playerid, 0xFFFF00AA, "[CASA]Bom Jogo Ungreli_Silva/Volte Sempre");
            return 1;
        }
    }
    return 0;
}
Reply
#2

cara isso e coordenadas erradas pegue as coords de novo.
Reply
#3

Essas Coordenadas são do MTA '-'
Reply
#4

pawn Код:
// Portгo Tutorial ******* - By BUGVIP //
#include <a_samp>

new Portao;

#define Vermelho 0xFF0000AA
#define Amarelo 0xFFFF00AA


public OnFilterScriptInit()
{
    Portao = CreateObject(980, 321, -1188.3896484375, 78, 0, 0, 21799621582031);
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{

//----------------------------
    if (strcmp("/abrir", cmdtext, true, 10) == 0)
    {
        if(!IsPlayerAdmin(playerid))
        {
            MoveObject(Portao, 330.2998046875, -1180.599609375, 78, 5.0);
            SendClientMessage(playerid, 0xFFFF00AA, "[CASA]Bem Vindo Ungreli_Silva");
            return 1;
        }
    }
//----------------------------
    if (strcmp("/fechar", cmdtext, true, 10) == 0)
    {
        if(!IsPlayerAdmin(playerid))
        {
            MoveObject(Portao, 321, -1188.3896484375, 78, 5.0);
            SendClientMessage(playerid, 0xFFFF00AA, "[CASA]Bom Jogo Ungreli_Silva/Volte Sempre");
            return 1;
        }
    }
    return 0;
}
Tenta ae..
Reply
#5

Não deu, Inclusive, Apenas Repassou o Code .-.
Reply
#6

Nгo Tirei uns espaзos que tira ali, aquilo poderia bugar (:
Refaзa e tente cara, isso й as cordenadas..
Reply
#7

Desisto disso '-', Meu negocio não é Portão kkkkkkk, Considerem o tópico como Resolvido
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)