Raised This Month: $4 Target: $400
 1% 

[REQ] Auto Revive On Connect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RazerxD
Junior Member
Join Date: Oct 2020
Location: Unknown
Old 10-27-2020 , 09:23   [REQ] Auto Revive On Connect
Reply With Quote #1

Hey,

I Want A Plugin Auto Revive Player If They Join , They Are Dead All The Time , so I Want A Solution Of It

Needed It For CT Only


THANKS!!!!!!!!!!!!
RazerxD is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 10-27-2020 , 12:22   Re: [REQ] Auto Revive On Connect
Reply With Quote #2

Made 2 versions, untested but should both work.

PHP Code:
/* Sublime AMXX Editor v2.2 */

#include <amxmodx>
// #include <amxmisc>
// #include <cstrike>
// #include <engine>
// #include <fakemeta>
#include <hamsandwich>
// #include <fun>
// #include <xs>
// #include <sqlx>

#define PLUGIN  "New Plug-In"
#define VERSION "1.0"
#define AUTHOR  "Author"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);

    
register_event("TeamInfo""TeamInfo""a");
}

public 
TeamInfo() {
    new 
id read_data(1);
    new 
szTeam[2];

    
read_data(2szTeamcharsmax(szTeam));

    switch(
szTeam[0]) {
        case 
'C'ExecuteHamB(Ham_CS_RoundRespawnid);
    }

PHP Code:
/* Sublime AMXX Editor v2.2 */

#include <amxmodx>
// #include <amxmisc>
// #include <cstrike>
// #include <engine>
// #include <fakemeta>
#include <hamsandwich>
// #include <fun>
// #include <xs>
// #include <sqlx>

#define PLUGIN  "New Plug-In"
#define VERSION "1.0"
#define AUTHOR  "Author"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);

    
register_event("TextMsg""PlayerJoinedCt""a""2&#Game_join_ct");
}

public 
PlayerJoinedCt() {
    new 
id read_data(1);

    
ExecuteHamB(Ham_CS_RoundRespawnid);

__________________
My Plugins:


Accepting private projects.

Last edited by Napoleon_be; 10-27-2020 at 12:27.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
RazerxD
Junior Member
Join Date: Oct 2020
Location: Unknown
Old 10-28-2020 , 04:19   Re: [REQ] Auto Revive On Connect
Reply With Quote #3

Thank you
RazerxD is offline
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 02:53.


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