Timer Help
#1

Hi,

Could anyone please explain to me how I could use a timer to have a delay between two lines of code being processed when a specific command is done?

For example, a command will send three /me commands on behalf of the player...

PHP код:
    SendNearbyMessage(playerid30.0COLOR_PURPLE"MESSAGE 1"ReturnName(playerid0));
    
SendNearbyMessage(playerid30.0COLOR_PURPLE"MESSAGE 2"ReturnName(playerid0));
    
SendNearbyMessage(playerid30.0COLOR_PURPLE"MESSAGE 3"ReturnName(playerid0)); 
before carrying out it's function. How could I have a delay between those three messages of say 5 seconds?
Reply


Messages In This Thread
Timer Help - by Luke_James - 17.08.2015, 12:25
Re: Timer Help - by ZBits - 17.08.2015, 12:32
Re: Timer Help - by Luke_James - 17.08.2015, 12:50
Re: Timer Help - by DaniceMcHarley - 17.08.2015, 13:02
Re: Timer Help - by Dokins - 17.08.2015, 13:02
Re: Timer Help - by Luke_James - 17.08.2015, 13:12

Forum Jump:


Users browsing this thread: 6 Guest(s)