Raised This Month: $ Target: $400
 0% 

Respawn player in death event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 04-18-2017 , 13:47   Respawn player in death event
Reply With Quote #1

I trying to Respawn the player in the death event, but it just do not work. The plugin compiles, but the player don't instantly respawn. I only managed to do this whith a timers.

Last edited by lugui; 04-18-2017 at 13:47.
lugui is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 04-18-2017 , 14:29   Re: Respawn player in death event
Reply With Quote #2

And now what? How are we supposed to help you? Are we supposed to guess how you wrote that code?
redivcram is offline
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 04-19-2017 , 03:40   Re: Respawn player in death event
Reply With Quote #3

Show the code.
__________________
Project: Among Us

Last edited by Craxor; 04-19-2017 at 03:40.
Craxor is offline
Send a message via ICQ to Craxor
PartialCloning
Senior Member
Join Date: Dec 2015
Old 04-19-2017 , 09:20   Re: Respawn player in death event
Reply With Quote #4

Set the player's dead flag to DEAD_RESPAWNABLE and make the player think. Alternatively if you're using the latest dev you can use RequestFrame and Ham_CS_RoundRespawn.
PartialCloning 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 17:52.


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