Raised This Month: $ Target: $400
 0% 

I need a code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BannedUser!
BANNED
Join Date: Feb 2010
Old 02-03-2010 , 16:58   Re: I need a code
Reply With Quote #10

Quote:
Originally Posted by mininova View Post
See
PHP Code:
#include < amxmodx >
#include < amxmisc >
#include < cstrike >

public plugin_init( ) {
    
register_event"HLTV""EventNewRound""a""1=0""2=0" );
}

public 
EventNewRound( ) {
    new 
iPlayers32 ], iNum;
    
get_playersiPlayersiNum );
    
    new 
iRandomIndex randomiNum );
    for( new 
0iNumi++ ) {
        
cs_set_user_teamiPlayers], ( == iRandomIndex ) ? CS_TEAM_T CS_TEAM_CT );
    }

This code make exolent on other post.

Since I do in order that it works only in the first round?
Test.
BannedUser! 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 07:18.


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