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

Client Respawn v1.6


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:         
Ricky
Senior Member
Join Date: Jul 2005
Old 03-11-2006 , 03:59   Client Respawn v1.6
Reply With Quote #1

Client Respawn v1.6

Description:

Players can (re)spawn themselves by saying "/cl_respawn"
or "/respawnme". The spawn function in most respawn plugins is bugged so it's meant for that spawn/lag glitch.

Updates:

v1.0 - created with help by v3x.
v1.1 - changed /respawn to /cl_respawn to avoid possible conflict suggested by Brad.
v1.2 - testing cs_user_spawn function.
v1.3 - support for ka_/scout maps as suggested by Geesu.
v1.4 - optimizations, added sv_cl_respawn cvar, added /respawnme command.
v1.5 - fixed default ammo/clip amount, replaced cs_user_spawn with
T(+)rget's method.

v1.6 - fixed typos.

Modules:

<amxmodx>
<cstrike>
<engine>
<fun>


To Do:

Hook the respawn command to +attack while dead for Quake3 style action.
Attached Files
File Type: sma Get Plugin or Get Source (client_respawn.sma - 1201 views - 3.1 KB)
Ricky is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-11-2006 , 04:02  
Reply With Quote #2

Remove the AMXX file from your post. It gets automatically created when people click the "Get Plugin" link.

Also, fix the indenting in the code. It's extremely sloppy.
Brad is offline
Ricky
Senior Member
Join Date: Jul 2005
Old 03-11-2006 , 04:04  
Reply With Quote #3

It's my first release.
Ricky is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-11-2006 , 04:11  
Reply With Quote #4

Which DM plugins have the issues that this plugin purports to alleviate?

Both BAILOPAN and Twisty's DM plugins already have the "/respawn" command in them.
Brad is offline
Ricky
Senior Member
Join Date: Jul 2005
Old 03-11-2006 , 04:30  
Reply With Quote #5

Quote:
Originally Posted by Brad
Which DM plugins have the issues that this plugin purports to alleviate?

Both BAILOPAN and Twisty's DM plugins already have the "/respawn" command in them.
Respawn forever, GHW's ctf has it and works. csdm 1 had it but didn't work while csdm2 is buggy, so I haven't been using it and I don't think it worked on it either. Tdm doesn't have it at all. This plugin here would work for all of them and would work especially well with servers that run multiple dm plugins.
Ricky is offline
T(+)rget
Senior Member
Join Date: Mar 2004
Old 03-12-2006 , 00:19  
Reply With Quote #6

AMXX spawn function is very bugged then, if you need to give weapons to the clients as well oO

^ will be fixed in next AMXX release, if it ain't everyone can slap bailopan around with a wet trout
T(+)rget is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-12-2006 , 02:17  
Reply With Quote #7

Since you're already using the cstrike module you should just use cs_user_spawn.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 03-12-2006 , 02:42  
Reply With Quote #8

The reason I don't include a respawn command is because if you attempt to respawn a player later, there is a high probability that the ghost bug will occur. Also, cs_user_spawn is broke.
__________________
twistedeuphoria is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-12-2006 , 02:55  
Reply With Quote #9

Seemed to work fine when I used it.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 03-12-2006 , 03:53  
Reply With Quote #10

cs_user_spawn works for me too, if you use it exactly when a player dies, you will get that ghost bug, so you just gotta delay it by 0.5 seconds.

i do however use a /respawn cmd only for players who get stuck or want to restart timer.
OneEyed 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 13:48.


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