Raised This Month: $ Target: $400
 0% 

I need a code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mininova
BANNED
Join Date: Mar 2009
Old 01-31-2010 , 18:05   I need a code
Reply With Quote #1

Hello

I tried several things but I never went out. What I try is to make a command so that only they can enter "X" amount of terrorists and the rest of CT. Plugins saw who did it but need a code to add to what I'm doing.


From already thank you very much.
mininova is offline
Send a message via MSN to mininova
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 01-31-2010 , 18:39   Re: I need a code
Reply With Quote #2

Team Limiter by Exolent
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
mininova
BANNED
Join Date: Mar 2009
Old 01-31-2010 , 21:22   Re: I need a code
Reply With Quote #3

Quote:
Originally Posted by wrecked_ View Post
Thanks. but i need a code for add in my plugin.
mininova is offline
Send a message via MSN to mininova
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-31-2010 , 23:40   Re: I need a code
Reply With Quote #4

You can't add code from another plugin to your own?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
mininova
BANNED
Join Date: Mar 2009
Old 02-01-2010 , 00:51   Re: I need a code
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
You can't add code from another plugin to your own?
Yes, but in understand much codes.
mininova is offline
Send a message via MSN to mininova
benamo6
Veteran Member
Join Date: Aug 2008
Location: NeverLand
Old 02-03-2010 , 07:23   Re: I need a code
Reply With Quote #6

Are you searching for a code that get how many players by a cvar can join terrorist and then players left join cts?
__________________
Please help me with this Thread
I am 70% addicted to Counterstrike. What about you?
Ill make any spanish translation of a plugin. Just ask for it
benamo6 is offline
Send a message via MSN to benamo6
mininova
BANNED
Join Date: Mar 2009
Old 02-03-2010 , 07:29   Re: I need a code
Reply With Quote #7

Quote:
Originally Posted by benamo6 View Post
Are you searching for a code that get how many players by a cvar can join terrorist and then players left join cts?
Yes, I find several codes but i understand for made.
mininova is offline
Send a message via MSN to mininova
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 02-03-2010 , 10:17   Re: I need a code
Reply With Quote #8

You should really get a dictionary instead of Google Translating, it will help us a lot.
Seta00 is offline
mininova
BANNED
Join Date: Mar 2009
Old 02-03-2010 , 16:08   Re: I need a code
Reply With Quote #9

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?
mininova is offline
Send a message via MSN to mininova
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
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 07:18.


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