Raised This Month: $ Target: $400
 0% 

making remaining kills T's


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-23-2009 , 15:00   making remaining kills T's
#1

How can I do that I need to kill like 200 T's, and then change the map??
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-23-2009 , 15:08   Re: making remaining kills T's
#2

Make a global variable.
When a Terrorist dies, increase that variable.
When you increase the variable, check to see if it is equal to 200.
If it is 200, then change the map.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
[X]-RayCat
Senior Member
Join Date: Sep 2006
Old 05-23-2009 , 15:24   Re: making remaining kills T's
#3

This has been answered before. if you know how to code it will be easy with exolents instructions.
__________________

Last edited by [X]-RayCat; 05-23-2009 at 15:26.
[X]-RayCat is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-23-2009 , 15:38   Re: making remaining kills T's
#4

Give an example
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-23-2009 , 15:43   Re: making remaining kills T's
#5

This will change map when either team reaches 200 deaths. Tweak it as needed for a particular team. Untested

PHP Code:
new g_TeamKills[3];

register_event"DeathMsg" "fwEvDeathMsg" "a" );

public 
fwEvDeathMsg()
{
    if ( ++
g_TeamKillsget_user_teamread_data) ) ] >= 200 )
        
//change map

__________________

Last edited by Bugsy; 05-23-2009 at 15:50.
Bugsy is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-23-2009 , 16:07   Re: making remaining kills T's
#6

can make that client show hud message: [Zombies Remaining: %i]
green color ?
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-23-2009 , 23:15   Re: making remaining kills T's
#7

Quote:
Originally Posted by ~Ice*shOt View Post
Give an example
If you need an example of code after I simply explained how to do it, you shouldn't be coding.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Closed Thread


Thread Tools
Display Modes

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 01:27.


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