[Pedido] comando /abrir portгo /fechar portao
#1

Olб; boa madrugada a quem estiver lendo isso.

vamos ao assunto

Queria que o Player sу pudesse usar o comando quando estivesse perto do portгo. como fazer ??

Codigos.
Abrir
Код:
CMD:adp(playerid, params[])
{
	new string[50];
	new movetime = MoveObject(obj, 1543.5000000,-1627.5996000,19.4000000, 3.00);
	format(string, sizeof(string), "Aguarde... {FF9900}o portгo estб Abrindo !!", movetime);
	SendClientMessage(playerid, 0xFF000000, string);
	return 1;
}
Fechar
Код:
CMD:fdp(playerid, params[])
{
	new string[50];
	new movetime = MoveObject(obj, 1543.5000000,-1627.5996000,15.2000000, 3.00);
	format(string, sizeof(string), "Aguarde... {FF9900}o portгo estб Fechando !! ", movetime);
	SendClientMessage(playerid, 0xFF000000, string);
	return 1;
}
+Rep pra todos que Ajudarem
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)