06.03.2011, 00:51
Why you need to create and format the string if time is always 3000 miliseconds? It's a static time, it won't change regarding of the player command.
pawn Код:
if(strcmp(cmdtext, "/flyo", true) == 0)
{
new movetime = MoveObject(helipad2, 548.59000000,-2797.09000000,13.06000000,5.00000000);
SetTimer("aclose2", 3000, 0);
SendClientMessage(playerid, "You opening a hunter cage , gate will be closed for 3 seconds.");
SendClientMessage(playerid, "Object will finish moving in 3000 milliseconds");
return 1;
}