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

[Req] Plugin /respawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Calibru09
Junior Member
Join Date: Jan 2020
Location: Romania
Old 04-22-2020 , 01:37   [Req] Plugin /respawn
Reply With Quote #1

Hello , i need a plugin that respawns a player ( admin or not ) when he types in chat /respawn
Calibru09 is offline
Send a message via AIM to Calibru09 Send a message via Yahoo to Calibru09 Send a message via Skype™ to Calibru09
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 04-22-2020 , 04:18   Re: [Req] Plugin /respawn
Reply With Quote #2

Quote:
Originally Posted by Calibru09 View Post
Hello , i need a plugin that respawns a player ( admin or not ) when he types in chat /respawn
I think this is what you want
https://forums.alliedmods.net/showthread.php?p=2547244
Supremache is offline
Calibru09
Junior Member
Join Date: Jan 2020
Location: Romania
Old 04-22-2020 , 04:44   Re: [Req] Plugin /respawn
Reply With Quote #3

That plugin works only for admins
iwant to work for everyone who type /respawn in chat
Calibru09 is offline
Send a message via AIM to Calibru09 Send a message via Yahoo to Calibru09 Send a message via Skype™ to Calibru09
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-22-2020 , 07:25   Re: [Req] Plugin /respawn
Reply With Quote #4

Code:
#include <amxmodx> #include <hamsandwich> public plugin_init() {     register_plugin("Respawn Command", "1.0", "OciXCrom")     register_clcmd("say /respawn", "Cmd_Respawn")     register_clcmd("say_team /respawn", "Cmd_Respawn") } public Cmd_Respawn(id) {     if(is_user_alive(id))     {         client_print(id, print_chat, "* You can't use this command while you're alive!")     }     else     {         ExecuteHamB(Ham_CS_RoundRespawn, id)     }     return PLUGIN_HANDLED }
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Calibru09
Junior Member
Join Date: Jan 2020
Location: Romania
Old 04-23-2020 , 12:40   Re: [Req] Plugin /respawn
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
Code:
#include <amxmodx> #include <hamsandwich> public plugin_init() {     register_plugin("Respawn Command", "1.0", "OciXCrom")     register_clcmd("say /respawn", "Cmd_Respawn")     register_clcmd("say_team /respawn", "Cmd_Respawn") } public Cmd_Respawn(id) {     if(is_user_alive(id))     {         client_print(id, print_chat, "* You can't use this command while you're alive!")     }     else     {         ExecuteHamB(Ham_CS_RoundRespawn, id)     }     return PLUGIN_HANDLED }
Thank you
Calibru09 is offline
Send a message via AIM to Calibru09 Send a message via Yahoo to Calibru09 Send a message via Skype™ to Calibru09
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 00:05.


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