Raised This Month: $ Target: $400
 0% 

Anti Bad World Spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 07-15-2010 , 17:42   Anti Bad World Spawn
Reply With Quote #1

Anti Bad World Spawn

Exist too many maps that when players are spawned, they die...
This plugin, give godmode to all players, for a number of seconds after round start.
And very importantly, task some respawn functions...
If player died in ten seconds when round has started, he will be respawned.
The plugin not allow to increase deaths on tablescore!

This is the cvars :

Code:
amx_bad_spawn 1   (Enable or disable plugin)
amx_bad_spawn_time 8   (Protection after round has started)
amx_bad_spawn_message 0    (Show any message to players?)
Attached Files
File Type: sma Get Plugin or Get Source (anti_bad_world_spawn.sma - 734 views - 4.2 KB)

Last edited by claudiuhks; 07-15-2010 at 17:46.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 07-15-2010 , 17:46   Re: Anti bad world spawn!
Reply With Quote #2

ResetHUD....


1. Bring up the console.
2. Type in 'record bleh.'
3. Hit enter.
4. ???
5. Profit.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-15-2010 , 17:50   Re: Anti bad world spawn!
Reply With Quote #3

Dont use reset hud to catch round start event use this one:
Code:
register_event("HLTV", "event_round_start", "a", "1=0", "2=0")
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 07-15-2010 , 17:51   Re: Anti bad world spawn!
Reply With Quote #4

Why not resethud?
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-15-2010 , 17:52   Re: Anti bad world spawn!
Reply With Quote #5

Quote:
Originally Posted by claudiuhks View Post
Why not resethud?
Reset HUD is not for this purpose .!!!
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 07-15-2010 , 17:54   Re: Anti bad world spawn!
Reply With Quote #6

Why not OMG what's happening?

Probably you want logevent roundstart, this is after freezetime, but i think ResetHUD is better. ResetHUD will remeining...

Last edited by claudiuhks; 07-15-2010 at 17:58.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 07-15-2010 , 18:02   Re: Anti bad world spawn!
Reply With Quote #7

Quote:
Originally Posted by DarkGod View Post
ResetHUD....


1. Bring up the console.
2. Type in 'record bleh.'
3. Hit enter.
4. ???
5. Profit.
Why not ?
If you want to record any demo, you can do this, no problem!
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 07-15-2010 , 22:57   Re: Anti bad world spawn!
Reply With Quote #8

Quote:
Originally Posted by claudiuhks View Post
Why not ?
If you want to record any demo, you can do this, no problem!
Type "fullupdate" in console and you'll see.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Saad706
Member
Join Date: Jun 2010
Location: Karachi,Pakistan
Old 07-16-2010 , 03:30   Re: Anti bad world spawn!
Reply With Quote #9

No problem
__________________
HeLL MoD Project is 50% Completed . Thanks @bdul for Help

My plugin link Advanced fog system
http://forums.alliedmods.net/showthr...t=advanced+fog
Saad706 is offline
Send a message via Skype™ to Saad706
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 07-16-2010 , 04:17   Re: Anti bad world spawn!
Reply With Quote #10

Does nothing. Really, i don't understand what doing this command... But i think to block it!
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
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 06:08.


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