Raised This Month: $ Target: $400
 0% 

is there any command to darken the map?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klysman07
Senior Member
Join Date: Oct 2011
Old 07-05-2012 , 16:41   is there any command to darken the map?
Reply With Quote #1

like a command for me darken the maps in the days of hide and seek in my jailbreak.

maybe a command that can be used in a scripting.

Tks ^^
klysman07 is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 07-05-2012 , 16:44   Re: is there any command to darken the map?
Reply With Quote #2

set_lights
__________________
<VeCo> is offline
klysman07
Senior Member
Join Date: Oct 2011
Old 07-05-2012 , 17:04   Re: is there any command to darken the map?
Reply With Quote #3

Quote:
Originally Posted by <VeCo> View Post
set_lights
do this as a command to put the plugins?

and how to use it for the console?

have any number on the front?

for example
set_lights 200
klysman07 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 07-05-2012 , 17:16   Re: is there any command to darken the map?
Reply With Quote #4

Quote:
Originally Posted by klysman07 View Post
do this as a command to put the plugins?

and how to use it for the console?

have any number on the front?

for example
set_lights 200
set_lights() is an AMXX function, not a command to be used in your console. The input is actually a string character, "m" being the closest to default, "z" brightest, and "a" darkest.

Post in the request section if you want it made as a command for a plugin.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
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
Santaaa
BANNED
Join Date: May 2012
Old 07-06-2012 , 17:49   Re: is there any command to darken the map?
Reply With Quote #6

PHP Code:
set_lights("m"
Next time search on the amxx function web page.
Santaaa 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 15:22.


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