Quick Answer...
#5

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;
            }
Reply


Messages In This Thread
Quick Answer... - by Amel_PAtomAXx - 06.03.2011, 00:16
Re: Quick Answer... - by admantis - 06.03.2011, 00:19
Re: Quick Answer... - by dr.pepper - 06.03.2011, 00:36
Re: Quick Answer... - by Amel_PAtomAXx - 06.03.2011, 00:39
Re: Quick Answer... - by admantis - 06.03.2011, 00:51
Re: Quick Answer... - by Marricio - 06.03.2011, 00:54
Re: Quick Answer... - by Amel_PAtomAXx - 06.03.2011, 01:09

Forum Jump:


Users browsing this thread: 4 Guest(s)