[Ajuda] O que estб errado neste code ?
#1

new Portaogang;

public OnGameModeInit()
{

Portaogang = CreateObject(975,-2617.5000000,2271.8999023,8.8000002,0.0000000,0.00 00000,0.0000000);

}

no publiccommandtext (algo assim)

if(strcmp(cmdtext,"/abrirportao",true)==0)
{
MoveObject(Portaogang, 975,-2609.0000000,2272.0000000,8.8000002,0.0000000,0.00 00000,0.0000000,2.0); //o 2.0 й a velocidade dele abrir
SendClientMessage(playerid, -1, "Portгo aberto!");
return 1;
}
//agora o comando dele fechar
if(strcmp(cmdtext,"/fecharportao",true)==0)
{
MoveObject(Portaogang, 975,-2617.5000000,2271.8999023,8.8000002,0.0000000,0.00 00000,0.0000000,2.0);//o 2.0 й a velocidade
SendClientMessage(playerid, -1, "portao fechado");
return 1;
}
Reply


Messages In This Thread
O que estб errado neste code ? - by Leopawno - 21.07.2013, 12:59
Re: O que estб errado neste code ? - by Dana_scully - 21.07.2013, 13:12

Forum Jump:


Users browsing this thread: 2 Guest(s)