Raised This Month: $ Target: $400
 0% 

Only 1 Terrorist


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
skatzfz
Senior Member
Join Date: Apr 2014
Old 06-27-2014 , 20:30   Re: Only 1 Terrorist
Reply With Quote #1

public HideNSeek( id )
{

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 );

}

get_players( players, num, "ae", "CT" );

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

if( !is_user_alive( player ) )
continue;

set_user_godmode( player, 1 );
}
get_players( players, num, "ae", "TERRORIST" );

if( num <= 1 )
{
set_user_godmode( player, 0 );
}

This way works?

Last edited by skatzfz; 06-27-2014 at 20:31.
skatzfz 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 21:08.


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