[Ajuda] Ajuda com Portao HQ
#1

Bom Tenho um Gamemode RPG
Estou Querendo Saber Porque o Portao que eu Fiz Para a HQ nao Funciona
Eu Digito o Comando /portaopcc

Ele Nao Abre :c

Код:
if(strcmp(#/portaopcc, cmdtext, true) == 0)
{
    if (PlayerInfo[playerid][pMembro] == 24 || (PlayerInfo[playerid][pLider] == 24)) // PPC
    {
        MoveObject(Pcc, 2423.8232,-2089.8859,4.7974,3,0.0000,0.0000,-89.5999);
        SetTimer(#MovePcc, 5000, 0);
        SendClientMessage(playerid, 0x2641FEFF, #Portao aberto);
    }
    else
        SendClientMessage(playerid, 0x2641FEFF, #Vocк nгo й da PPC!);
    return true;
}
Код:
forward MovePcc();
public MovePcc()
{
    MoveObject(Pcc,2423.8232, -2089.8859, 14.7974,3, -89.5999);
    return true;
}
Reply
#2

pawn Код:
if(strcmp("/portaopcc", cmdtext, true) == 0)
{
    if (PlayerInfo[playerid][pMembro] == 24 || (PlayerInfo[playerid][pLider] == 24)) // PPC
    {
        MoveObject(Pcc, 2423.8232,-2089.8859,4.7974,3,0.0000,0.0000,-89.5999);
        SetTimer(MovePcc, 5000, 0);
        SendClientMessage(playerid, 0x2641FEFF, "Portao aberto");
    }
    else
    {
        SendClientMessage(playerid, 0x2641FEFF, "Vocк nгo й da PPC!");
    }
    return 1;
}
Reply
#3

"Vocк nгo й da PPC"

Vo nem zua, vai que й doenзa
Reply
#4

Jб respondi no outro tуpico lб, nгo era preciso criar outro tуpico mas tudo bem...

tenta tirar o "#" do comando, igual o Duduloch disse acima '-'

#edit
deve ser problema nesse moveobject
Reply
#5

Nгo tem problema em usar #, ele vai ler como un texto assim como " "
Reply
#6

Continua, Nao funcionando, o portao esta la parado, Se Quiserem Olhar Entrem no Meu Servidor : 201.74.125.216:7777
Reply
#7

Eu tentei identar o code e deixar ele mais legнvel.. Vк se funfa, se funfar blz.. Se nгo funfar diz ae que vou tentar te ajudar..
Reply
#8

Nao Funcionou !
Reply
#9

Faz de novo o Portгo, deve ser problema no MoveObject.
Reply
#10

Manda a variбvel: PCC

((This forum requires that you wait 120 seconds between posts. Please try again in 56 seconds. :mad))
((This forum requires that you wait 120 seconds between posts. Please try again in 32 seconds.))
((This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds. ))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)