View Single Post
Anurag Kumar
Junior Member
Join Date: Jan 2018
Location: India - Delhi
Old 01-10-2018 , 11:13   Re: How To: Respawn a player
Reply With Quote #30

Basic Code

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <fun> #include <hamsandwich> #define PLUGIN "Revive Test" #define VERSION "1.0" #define AUTHOR "Anurag Kumar" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     RegisterHam(Ham_Killed, "player", "Killed", 1) } public client_putinserver(id) {     set_task(6.0, "Revive", id) } public Revive(id){     if(!is_user_alive(id))     ExecuteHamB(Ham_CS_RoundRespawn,id) }
PS: Im Beginner Coder. So Please Don`t Defame Me
Anurag Kumar is offline