Vice City Multiplayer
		VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: theway on February 18, 2011, 08:27:04 am
		
			
			- 
				
how can i ? 
3 seconds after the first send a message to the players, then 3 seconds later to give the player to fill the blood, and so on?
Settimer?  
			 
			
			- 
				3 Second time is Example:
Pubic blah()
{
SendClientMessageToAll(COLOR_GREEN,"Here your message");
}
at gamemodeinit
add
SetTimer("blah",3000,1); // 3000 is = 3 secs and 1 is Blood ture false to loop this timer after 3 secs
			 
			
			- 
				and after heal player,  what should ?  
			
 
			
			- 
				healing Player? auto heal in 3 seconds? ??? ???
			
 
			
			- 
				yes,  I want ,    I would like 3 seconds to all players plus blood, and then another 3 seconds to all players plus armor, a few seconds to set the time to 12 how about this?
			 
			
			- 
				The best way is to make a couple of custom functions. Start with HealAll, then ArmourAll or something. You need to call a loop round all the players ingame, setting their hp and armour respectively. Then, if it is under a command you just need to set 2 timers. 
So something like 
GameTextForAll("Healing in 3 seconds, boosting armour in 6.");
SetTimer("HealAll", 3000, 1);
SetTimer("AmourAll", 6000, 1);