Raised This Month: $ Target: $400
 0% 

Solved Give the same functionality for the alive players to the dead players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-19-2021 , 10:00   Re: Give the same functionality for the alive players to the dead players
Reply With Quote #1

i managed for it to work using this sequence of code

Code:
		ExecuteHamB(Ham_CS_RoundRespawn, id); 
		set_pev(id, pev_deadflag, DEAD_RESPAWNABLE);
		set_pev(id, pev_solid, SOLID_SLIDEBOX);
		set_pev(id, pev_movetype, MOVETYPE_WALK);
		set_pev(id, pev_health, 100.0);
		set_pev(id, pev_maxspeed, 250.0);
		give_item(id, "weapon_knife");
but now people can't see each other properly because there's a delay on the model location.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 10-19-2021 at 10:01.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-20-2021 , 05:04   Re: Give the same functionality for the alive players to the dead players
Reply With Quote #2

Quote:
Originally Posted by Natsheh View Post
but now people can't see each other properly because there's a delay on the model location.

Its because on player think post the player is thought dead and most of the alive functions are ignored.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 11:39.


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