Raised This Month: $51 Target: $400
 12% 

Spawn Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Fireace22
Member
Join Date: Apr 2004
Old 05-14-2004 , 20:01  
Reply With Quote #41

still nothing

[AMXX] Plugin file open error (plugin "Spawnprotection.amx")
Fireace22 is offline
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 06-24-2004 , 03:11  
Reply With Quote #42

Quote:
Originally Posted by JJkiller
peli, hows that new plugin coming?
- Well , I'm done with it but , I'm releasing it kind of late since I'm working on a lot at once.

Quote:
Originally Posted by Fireace22
still nothing

[AMXX] Plugin file open error (plugin "Spawnprotection.amx")
- Try downloading the plugin again , that one will work for you. You changed something and that's probably why it crashed.
Now try changing this :
Code:
set_hudmessage( 255, 0, 0, -1.0, -1.0, 0, 6.0, 10.0, 0.5, 1.5, 4 )
To this :
Code:
set_hudmessage( 255, 0, 0, -1.0, -1.0, 0, 6.0, TIME, 0.5, 1.5, 4 )
Then at the top of the plugin , above the includes type this :
Code:
#define TIME 5.0
That should make it 5 seconds without crashing anything , now whenever you want to edit that , just change the part at the top okay.

One more note , :
Code:
set_task(10.0,"god_off")
- The part above is just how long it will take for godmode to turn off during the spawn protection time , right when the round starts , you should make a define for 10.0 above , make it TIME too , just like the old one , so now it would look like this ( after you change it to 5 seconds just like the message ) :
Code:
set_task(TIME,"god_off")

P.S. Sorry for not getting back to you guys on this plugin earlier , I was VERY busy , and for you who might think I'm bumping this , I'm not , I'm just helping some people.
@ KingPin : Feel free to add a Cvar and let me know so I can change it.
Peli is offline
Send a message via MSN to Peli
Girthesniper
Senior Member
Join Date: Mar 2004
Location: Maryland
Old 06-24-2004 , 12:05  
Reply With Quote #43

Does this plugin work for NS?
__________________
BANNED
Girthesniper is offline
Send a message via AIM to Girthesniper Send a message via MSN to Girthesniper
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 06-24-2004 , 19:51  
Reply With Quote #44

I don't know Gir , sorry I didn't test it on that , could you? I only tested it on CS , it most likely works with HL mods.
Peli is offline
Send a message via MSN to Peli
Girthesniper
Senior Member
Join Date: Mar 2004
Location: Maryland
Old 06-24-2004 , 19:58  
Reply With Quote #45

I dont have a NS server to test it on. Just wanted to know.
__________________
BANNED
Girthesniper is offline
Send a message via AIM to Girthesniper Send a message via MSN to Girthesniper
BreitPaulner
New Member
Join Date: Jul 2004
Old 07-08-2004 , 21:36  
Reply With Quote #46

this is a nice plugin. but i would like to have different spawnprotection times for some maps. is it possible to control this with a cvar or something (setinfo perhaps)?
this would be nice
BreitPaulner is offline
ncincott
Member
Join Date: Jun 2004
Old 07-09-2004 , 13:43  
Reply With Quote #47

How would I adjust the HUD message so that it appears near the top of the screen?
ncincott is offline
ncincott
Member
Join Date: Jun 2004
Old 07-09-2004 , 14:21  
Reply With Quote #48

Hrm... this program has a few notable problems.

One is that whenever a player joins in the middle of the game the Spawn Protection message flashes on everyone's screen.

Two is that it doesn't work on some maps. Like awp_map_cz People could spawn right away.

Last it needs better console control. For some reason amx_god is not registering as a command in the console.
ncincott is offline
Mugwump
Senior Member
Join Date: May 2004
Old 07-22-2004 , 21:01  
Reply With Quote #49

Great plugin Peli, thanks for contributing that.

For any interested, the players on my server only wanted spawn protection for a specific map, namely fy_pool_day. This modification is easily done with the following:

Code:
    if ( containi(mapname, "fy_pool_day") == -1 ){
       return PLUGIN_HANDLED
    }
The map name can be defined as a global, or in a list, but this is the basic gist.

Thanks again Peli!

-Mug
Mugwump is offline
ElDude
New Member
Join Date: Aug 2004
Old 08-25-2004 , 12:21  
Reply With Quote #50

Any plans on this being updated for the latest version of amxx? I'm gonna cry if I have to ban more spawn killers
__________________
#fluxclan on Qnet || 193.23.224.7:27015 Infinity-Gaming.net | [FLUX] || Come play on our 64bit AMX X 12 man CZ server
ElDude 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 11:09.


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