Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] SM Respawn command


Post New Thread Reply   
 
Thread Tools Display Modes
eyal282
Veteran Member
Join Date: Aug 2011
Old 03-03-2018 , 16: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.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 03-04-2018 , 00: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 , 09: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 - 795 views - 6.0 KB)
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334

Last edited by eyal282; 03-04-2018 at 10:40.
eyal282 is offline
FatalOE71
Member
Join Date: Jun 2018
Old 06-23-2018 , 16: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
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-23-2018 , 16: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.
__________________
Psyk0tik is offline
FatalOE71
Member
Join Date: Jun 2018
Old 06-24-2018 , 00: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
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-24-2018 , 01: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.
__________________
Psyk0tik is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-24-2018 , 11: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 - 1233 views - 6.3 KB)
__________________

Last edited by Psyk0tik; 06-24-2018 at 11:55.
Psyk0tik is offline
AK978
Senior Member
Join Date: Jun 2018
Old 08-24-2018 , 16: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 17:45.
AK978 is offline
rikka0w0
Member
Join Date: May 2018
Location: Sydney, Australia / Beij
Old 09-08-2018 , 15: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 15:14.
rikka0w0 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 15:11.


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