Raised This Month: $51 Target: $400
 12% 

Respawn - Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
thEsp
BANNED
Join Date: Aug 2017
Old 07-22-2019 , 11:07   Re: Respawn - Plugin
Reply With Quote #11

Quote:
Originally Posted by wilianmaique View Post
that is enough
Nope.
thEsp is offline
enis.unniking
Junior Member
Join Date: Jul 2019
Location: KOSOVA
Old 07-22-2019 , 11:17   Re: Respawn - Plugin
Reply With Quote #12

Quote:
Originally Posted by wilianmaique View Post
that is enough

PHP Code:
#include <amxmodx>
#include <hamsandwich>

#define PLUGIN  "New Plug-In"
#define VERSION "1.0.0-2"
#define AUTHOR  "Author"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /respawn""xRespawn"
}

public 
xRespawn(id)

    if(!
is_user_alive(id))
    {
        
ExecuteHamB(Ham_CS_RoundRespawnid)
    }

Yes, in fact in some modes!
For example: If you are playing: BaseBuilder, and you are CT, and you got infected and you will be transfered to ZOMBIE and u will be DEAD. When u will write /respawn, You will be Builder again!

Last edited by enis.unniking; 07-22-2019 at 12:42.
enis.unniking is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 07-22-2019 , 12:35   Re: Respawn - Plugin
Reply With Quote #13

Quote:
Originally Posted by thEsp View Post
DeathMsg is message that appears on top right corner, when someone makes a frag. So don't use it, as it does not fully indicate a death. Either register Ham_Killed or use CSX's client_death forward.
Taking that in consideration if you're gonna use that code on monster vs players mods where the player is killed by nonplayers and such. It's cool for knife arenas. Just keeping it simple, since OP is doing so.
__________________
Relaxing is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-23-2019 , 04:59   Re: Respawn - Plugin
Reply With Quote #14

Quote:
Do not post plugins "just for the sake of it". eg. A fulfilled request may have been useful for one or a few people, but that does not necessarily mean that it has a place in the Approved section. Please take the time to expand your knowledge and produce some quality work.
from here: https://forums.alliedmods.net/showthread.php?t=21956

Unapproved.
__________________
HamletEagle 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 10:02.


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