17.08.2015, 12:25
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...
before carrying out it's function. How could I have a delay between those three messages of say 5 seconds?
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(playerid, 30.0, COLOR_PURPLE, "MESSAGE 1", ReturnName(playerid, 0));
SendNearbyMessage(playerid, 30.0, COLOR_PURPLE, "MESSAGE 2", ReturnName(playerid, 0));
SendNearbyMessage(playerid, 30.0, COLOR_PURPLE, "MESSAGE 3", ReturnName(playerid, 0));