AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Respawn - Plugin (https://forums.alliedmods.net/showthread.php?t=317634)

enis.unniking 07-22-2019 04:43

Respawn - Plugin
 
1 Attachment(s)
This plugin serves to you to respawn your self when you are dead!

You can respawn your self by writting on chat: /respawn, and you will get respawned to your base!

This plugin don't have any BUG!

Hope you will like it!

<VeCo> 07-22-2019 06:27

Re: Respawn - Plugin
 
Respawning doesn't strip knife and pistols, no need to give them. Player doesn't actually get any primary weapons...
You are calling 2 separate functions with one command, terrible.

//why did you steal fysiks's avatar?

enis.unniking 07-22-2019 06:31

Re: Respawn - Plugin
 
Quote:

Originally Posted by <VeCo> (Post 2660149)
Respawning doesn't strip knife and pistols, no need to give them.
You are calling 2 separate functions with one command, terrible.

//why did you steal fysiks's avatar?

Edited!

// I am new here, I just saw it I liked it, and I set it as my avatar!

OciXCrom 07-22-2019 07:44

Re: Respawn - Plugin
 
And what is this supposed to do? Why is it there?

PHP Code:

native give_itemindex, const item[] )] 

Stop posting trash code. You're not being helpful to anyone.

Relaxing 07-22-2019 08:31

Re: Respawn - Plugin
 
I haven't tried if this works but seems 10 times better than
register_clcmd( "say /respawn", "CTrespawn" )
register_clcmd( "say /respawn", "TTrespawn" )

Spoiler

thEsp 07-22-2019 09:06

Re: Respawn - Plugin
 
Quote:

Originally Posted by Relaxing (Post 2660170)
I haven't tried if this works but seems 10 times better than
register_clcmd( "say /respawn", "CTrespawn" )
register_clcmd( "say /respawn", "TTrespawn" )

Spoiler

DeathMsg is the 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.

enis.unniking 07-22-2019 09:15

Re: Respawn - Plugin
 
Quote:

Originally Posted by OciXCrom (Post 2660165)
And what is this supposed to do? Why is it there?

PHP Code:

native give_itemindex, const item[] )] 

Stop posting trash code. You're not being helpful to anyone.

This is my mistake, before I have just removed give_item...
But I forgot to delete that line! Sorry.

Edited!

JocAnis 07-22-2019 10:08

Re: Respawn - Plugin
 
Awesome plugin (fysiks) !

enis.unniking 07-22-2019 10:42

Re: Respawn - Plugin
 
Quote:

Originally Posted by JocAnis (Post 2660186)
Awesome plugin (fysiks) !

THANKS

But I am not (fysiks)

wilianmaique 07-22-2019 11:06

Re: Respawn - Plugin
 
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)
    }




All times are GMT -4. The time now is 22:29.

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