Delay after writing a command
#1

Hey guys, i wondered how to do delay that when you write the command (for example 5 seconds after) the action will happen.
Example:
[CMD:fire(playerid, params[])]
The way it should happen:
when player is writing /fire:
SendClientMessage(Playerid, color_White, "arming the fire"); (5 seconds)

Then its showing the player a GameTextForPlayer: ~~~~~~~~%s Seconds Left~~~~~~~~

and then after 5 seconds, it will say SendClientMessage(Playerid, color_White, "fire is armed you can now fire the missle (( using /firemissle ))");

But he may use /firemissle only after he used /fire

I am breaking my head how to do it. if someone can help me i will be greatful

-BoomShnizel-
Reply


Messages In This Thread
Delay after writing a command - by BoomShnizel - 05.11.2012, 14:28
Re: Delay after writing a command - by sampreader - 05.11.2012, 14:30
Re: Delay after writing a command - by BoomShnizel - 05.11.2012, 14:35
Re: Delay after writing a command - by [KHK]Khalid - 05.11.2012, 15:07
Re: Delay after writing a command - by BoomShnizel - 05.11.2012, 16:16
Re: Delay after writing a command - by BoomShnizel - 05.11.2012, 17:16
Re: Delay after writing a command - by Abreezy - 05.11.2012, 18:22
Re: Delay after writing a command - by cosbraa - 05.11.2012, 20:22
Re: Delay after writing a command - by BoomShnizel - 06.11.2012, 03:37

Forum Jump:


Users browsing this thread: 1 Guest(s)