AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   In the Terrorists/CT in the lead (https://forums.alliedmods.net/showthread.php?t=54846)

flyeni6 05-05-2007 13:49

In the Terrorists/CT in the lead
 
How can i make it that if the Terroirst has more combined player kills
than Ct, a sound like "Taken the lead"

and if Ct has less combined kills a sound like "lost the lead" will play

thanks

VEN 05-06-2007 08:14

Re: In the Terrorists/CT in the lead
 
Use get_user_frags(id) and get_players(...) See includes or function reference for functions details.

Alka 05-06-2007 08:48

Re: In the Terrorists/CT in the lead
 
1 Attachment(s)
Try this! It's print a message...on new round!

flyeni6 05-06-2007 11:13

Re: In the Terrorists/CT in the lead
 
thanks alka but im running deathmatch mode so im gonna try VEN's method

Alka 05-06-2007 11:55

Re: In the Terrorists/CT in the lead
 
Why....? I can make a version with "CsHack" module too,if you want...

flyeni6 05-06-2007 12:34

Re: In the Terrorists/CT in the lead
 
this is what i need

if cts had less kills then the terriorist

then they start killing poeple and end up wit more combined kills that the terroists within the game,

then a sound willplay like "taken the lead"

Alka 05-06-2007 12:40

Re: In the Terrorists/CT in the lead
 
hmm maybe should use
Code:

register_logevent("round_end", 2, "1=Round_End")
! And you want only for that round?.. if in that round T make more kills than CT?

flyeni6 05-12-2007 20:21

Re: In the Terrorists/CT in the lead
 
im not trying to use it on new rounds.

ok durring the game, if two teams tied in kills, i kill someone to destroy the tie, a hud will a apear to my team "gained the lead".

and to the other team "lost the lead".

flyeni6 05-19-2007 22:56

Re: In the Terrorists/CT in the lead
 
anyone know how to do this?


All times are GMT -4. The time now is 06:46.

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