11.09.2013, 14:55
So I'm getting a new moving gate.
It works fine when I /open it but when I'm gonna /close it, it doesn't close..
It works fine when I /open it but when I'm gonna /close it, it doesn't close..
pawn Код:
CMD:close(playerid,params[])
{
MoveObject(Gate,2423.5000000,-2094.7998047,13.3000002,1);
SendClientMessage(playerid, 0xFF0000, "{FFFF00}The gate has closed!");
return 1;
}
CMD:open(playerid,params[])
{
MoveObject(Gate,2423.5000000,-2094.8000488,13.3000002,1);
SendClientMessage(playerid, 0xFF0000, "{FFFF00}The gate has opened! (/close)");
return 1;
}