Raised This Month: $ Target: $400
 0% 

Random Glow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nikeboy648
Member
Join Date: Dec 2013
Old 12-26-2013 , 09:24   Random Glow
Reply With Quote #1

I want when the day start it will give to random player Glow.
and it write in hud message "%s Have a Birthday!"

code:

Code:
		case DAY_BIRTHDAY:		{    
			
			
			new players[32], num, player;
			get_players( players, num, "a" );
			
			for( new i = 0 ; i < num ; i ++ )
			{
				
				player = players[i]
				set_user_health( player, 100 );
				switch( cs_get_user_team( player ) )
				{
					case CS_TEAM_CT:
					{
						give_item( player, "weapon_m4a1" );
					        give_item( player, "weapon_deagle" );
						set_user_health( player, 300 );
						cs_set_user_bpammo( player, CSW_DEAGLE, 240 );
						
						
					}
					
					case CS_TEAM_T:
					{
						give_item( player, "weapon_knife" );
						set_user_health( player, 100 );
					}
				}
			}
		}
if you need the full code so send to my message.

Last edited by nikeboy648; 12-26-2013 at 09:25.
nikeboy648 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode