Raised This Month: $ Target: $400
 0% 

Respawn player with no extra includes?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
frio
Junior Member
Join Date: May 2020
Old 05-23-2020 , 08:46   Respawn player with no extra includes?
Reply With Quote #1

Is there a way to execute a function after a player dies that does not involve adding things like hamsandwich or fun?

Right now, all I have included in my plugin is:

HTML Code:
#include <amxmisc>
#include <amxmodx>
Is there any way to do it with just this and nothing else?

What would be the best way to achieve this?
frio is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-23-2020 , 09:14   Re: Respawn player with no extra includes?
Reply With Quote #2

Why does it matter? Simply look in the function available in those includes. You probably won't find anything related to respawning players.

The best way IMO is using hamsandwich.

Code:
ExecuteHamB(Ham_CS_RoundRespawn, id)

Your server won't blow up if you add more includes in the plugin.
__________________

Last edited by OciXCrom; 05-23-2020 at 09:15.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 17:08.


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