AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Respawn player with no extra includes? (https://forums.alliedmods.net/showthread.php?t=324670)

frio 05-23-2020 08:46

Respawn player with no extra includes?
 
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?

OciXCrom 05-23-2020 09:14

Re: Respawn player with no extra includes?
 
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.


All times are GMT -4. The time now is 17:08.

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