AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Round End Blast !!! Updated to 2.0 (https://forums.alliedmods.net/showthread.php?t=110626)

Anggara_nothing 12-01-2009 08:48

Round End Blast !!! Updated to 2.0
 
1 Attachment(s)
Round End Blast !!!

Description :
At round end, if CTs and Ts still alive, A nuclear missile exploded over the area and all dead. I create it for silent hill, but it can support with normal gameplay.

Add two slash (/) in front of this line for normal gameplay (edit at source code):
Quote:

#define ZOMBIE_MOD
Credit :
- MeRcyLeZZ, I copy many code from Zombie Plague and [ZP] Round Draw Blast.
- fezh, fix my mistake !!!
- xPaw and Arkshine, Help me in TextMSG
- Exolent[jNr], optimizing this plugin's code
- This tutorial

Change logs:
Quote:

1.1 --- fix my mistake.
1.5 --- Add Normal Gameplay Support, fix a bug.
1.6 --- Optimizing Code.
1.7 --- Bug fixed, support with Zombie Swarm.
1.8 --- Fix double explode bug, add siren sound, optimizing code.
2.0 --- Optimizing code.
P.S : Made in Indonesia and i'm proud to be indonesian !!!

soolt 12-01-2009 09:46

Re: Round End Blast !
 
And all die ?

xPaw 12-01-2009 09:50

Re: Round End Blast !
 
Why not just hook when Round Draw happens, or how that event is called... instead of counting players each round end..

Anggara_nothing 12-01-2009 10:02

Re: Round End Blast !
 
Quote:

Originally Posted by soolt (Post 1003962)
And all die ?

Yes.

Quote:

Originally Posted by XPaw (Post 1003967)
Why not just hook when Round Draw happens, or how that event is called... instead of counting players each round end..

i don't know how to do that...:|

fezh 12-01-2009 10:04

Re: Round End Blast !
 
PHP Code:

    for (id 1id <= 32id++)
        if (
is_user_alive(id))
            
user_kill(id1

Don't preassume max players as 32, use g_maxplayers variable.

Anggara_nothing 12-01-2009 10:10

Re: Round End Blast !
 
Quote:

Originally Posted by fezh (Post 1003981)
PHP Code:

    for (id 1id <= 32id++)
        if (
is_user_alive(id))
            
user_kill(id1

Don't preassume max players as 32, use g_maxplayers variable.

Whoaaa, thank you.
Update to 1.1

#8 SickneSS 12-01-2009 12:20

Re: Round End Blast !
 
Bomb has been defused

-BOOM-

¬¬?

-Edit-

use user_silentkill

Arkshine 12-01-2009 12:52

Re: Round End Blast !
 
probably:

Code:
register_event( "TextMsg", "Event_RoundDraw", "a", "2&#Round_Draw" );

One 12-02-2009 00:43

Re: Round End Blast !
 
Quote:

Originally Posted by Arkshine (Post 1004144)
probably:

Code:
register_event( "TextMsg", "Event_RoundDraw", "a", "2&#Round_Draw" );

i would never become this idea. idk where you get this ideas but your ideas are like exolents ideas. i just say : awesome oO

@ Anggara_nothing : maybe a pic or video?

INTEL-XTREME 12-02-2009 19:00

Re: Round End Blast !
 
good idea


All times are GMT -4. The time now is 14:31.

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