Ajuda com Portao HQ -
LucasOBGS - 30.03.2013
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;
}
Re: Ajuda com Portao HQ -
Duduloch - 30.03.2013
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;
}
Re: Ajuda com Portao HQ -
arakuta - 30.03.2013
"Vocк nгo й da PPC"
Vo nem zua, vai que й doenзa
Re: Ajuda com Portao HQ -
smiiir - 30.03.2013
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
Re: Ajuda com Portao HQ -
Supera - 30.03.2013
Nгo tem problema em usar #, ele vai ler como un texto assim como " "
Re: Ajuda com Portao HQ -
LucasOBGS - 30.03.2013
Continua, Nao funcionando, o portao esta la parado, Se Quiserem Olhar Entrem no Meu Servidor : 201.74.125.216:7777
Re: Ajuda com Portao HQ -
Duduloch - 30.03.2013
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..
Re: Ajuda com Portao HQ -
LucasOBGS - 30.03.2013
Nao Funcionou !
Re: Ajuda com Portao HQ -
smiiir - 30.03.2013
Faz de novo o Portгo, deve ser problema no MoveObject.
Re: Ajuda com Portao HQ -
Duduloch - 30.03.2013
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.
))