Raised This Month: $66 Target: $400
 16% 

[L4D & L4D2] SM Respawn command


Post New Thread Reply   
 
Thread Tools Display Modes
eyal282
Veteran Member
Join Date: Aug 2011
Old 03-03-2018 , 17:01   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #281

This needs to be able to remove the dead body otherwise it creates bugs.
__________________


Accepting private work. Contact me if you're interested.
eyal282 is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 03-04-2018 , 01:16   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #282

Quote:
Originally Posted by eyal282 View Post
This needs to be able to remove the dead body otherwise it creates bugs.
You can cooperate with this use, the body will automatically disappear when using the electric shock device.
I have been using, the effect is very good.

8+ players Bug Fixes
https://forums.alliedmods.net/showthread.php?t=121945
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 03-04-2018 , 10:58   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #283

Quote:
Originally Posted by phoenix0001 View Post
You can cooperate with this use, the body will automatically disappear when using the electric shock device.
I have been using, the effect is very good.

8+ players Bug Fixes
https://forums.alliedmods.net/showthread.php?t=121945
Or just tell me how to find the entity for the survivor's dead body 0.0

Edit: more tests are needed but this works for !respawn, might have side effects of bodies disappearing without any reason. The plugin removes a player's dead body if he is: alive, a survivor and not a bot.

The gamedata is to be taken from the first page.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_sm_respawn.sp - 189 views - 6.0 KB)
__________________


Accepting private work. Contact me if you're interested.

Last edited by eyal282; 03-04-2018 at 11:40.
eyal282 is offline
FatalOE71
Member
Join Date: Jun 2018
Old 06-23-2018 , 17:03   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #284

The latest version is throwing errors and not working. The following is taken right from my log file:

[SM] Unable to load plugin "l4d_sm_respawn.smx": Native "Event.GetInt" was not found
FatalOE71 is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 06-23-2018 , 17:16   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #285

Quote:
Originally Posted by FatalOE71 View Post
The latest version is throwing errors and not working. The following is taken right from my log file:

[SM] Unable to load plugin "l4d_sm_respawn.smx": Native "Event.GetInt" was not found
You need SM 1.8 snapshots.
__________________
AFK like JFK
Crasher_3637 is offline
FatalOE71
Member
Join Date: Jun 2018
Old 06-24-2018 , 01:42   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #286

Thank you, I had issues with a few other of your plugins too. It was because I was not running version 1.8, I have upgraded and it did fix the issues. You may want to add that info so others know.

Many thanks for your insight.
FatalOE71 is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 06-24-2018 , 02:45   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #287

Quote:
Originally Posted by FatalOE71 View Post
Thank you, I had issues with a few other of your plugins too. It was because I was not running version 1.8, I have upgraded and it did fix the issues. You may want to add that info so others know.

Many thanks for your insight.
Alright I added the info to my revision post. As for my plugins, I already have the info in all the README files on their respective GitHub repositories which I linked in all their AM posts.
__________________
AFK like JFK
Crasher_3637 is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 06-24-2018 , 12:48   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #288

Version 1.9.5

Changes:

1. Applied Silvers' fixes from above.

Download the gamedata file from the main post.
SourceMod 1.8 snapshots required.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_sm_respawn.sp - 197 views - 6.3 KB)
__________________
AFK like JFK

Last edited by Crasher_3637; 06-24-2018 at 12:55.
Crasher_3637 is offline
AK978
Junior Member
Join Date: Jun 2018
Old 08-24-2018 , 17:35   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #289

Respawns dead Survivors and teleports them where you aim

sm_respawn @all
Have you filtered out the live players and special infected?

Last edited by AK978; 08-24-2018 at 18:45.
AK978 is offline
rikka0w0
Member
Join Date: May 2018
Location: Sydney, Australia / Beij
Old 09-08-2018 , 16:04   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #290

I transformed the code to the new syntax,
add localization support
and add a menu to the admin menu which only displays dead human players.

Here is the github repo:
"https://github.com/rikka0w0/l4d_sm_respawn"

Does anyone want to collaborate on this plugin?
__________________

Last edited by rikka0w0; 09-08-2018 at 16:14.
rikka0w0 is offline
Reply


Thread Tools
Display Modes

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 15:47.


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