Raised This Month: $ Target: $400
 0% 

is there any command to darken the map?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klysman07
Senior Member
Join Date: Oct 2011
Old 07-05-2012 , 17:32   Re: is there any command to darken the map?
Reply With Quote #5

how can I put this function in code?
the darkness of the map 70%

Quote:
case DAY_HNS:
{
new players[32], num, player;
get_players( players, num, "ae", "TERRORIST" );

for( new i = 0; i < num; i++ )
{
player = players[i];

if( !is_user_alive( player ) )
continue;

set_user_rendering( player, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 16 );

set_user_footsteps( player, 1 );
server_cmd("sv_gravity 200");
client_cmd(player, "speak sound/GagaSong/DragonBall-Z.wav");

}

g_iTimeLeft = 60;
set_task( 1.0, "Hidenseek_Countdown", TASK_HIDENSEEK, _, _, "a", g_iTimeLeft + 1 );
}
}

ColorChat( 0, NORMAL, "%s ^03Objective: ^01%s", g_szPrefix, g_szDaymenuObjectives[g_iCurrentDay] );

if( get_pcvar_num( g_pOpenCells ) )
Push_Button();

return PLUGIN_HANDLED;
}
klysman07 is offline
 



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 15:22.


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