AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Client Respawn v1.6 (https://forums.alliedmods.net/showthread.php?t=25284)

Ricky 03-11-2006 03:59

Client Respawn v1.6
 
1 Attachment(s)
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.

Brad 03-11-2006 04:02

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.

Ricky 03-11-2006 04:04

It's my first release. :oops:

Brad 03-11-2006 04:11

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.

Ricky 03-11-2006 04:30

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.

T(+)rget 03-12-2006 00:19

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 :lol:

v3x 03-12-2006 02:17

Since you're already using the cstrike module you should just use cs_user_spawn.

twistedeuphoria 03-12-2006 02:42

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.

v3x 03-12-2006 02:55

Seemed to work fine when I used it.

OneEyed 03-12-2006 03:53

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.


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

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