AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Revive (https://forums.alliedmods.net/showthread.php?t=174527)

enjoi. 12-21-2011 16:04

Revive
 
Can anyone link me to a plugin that when you type amx_revive enjoi it will revive me and in green it will say enjoi has been revived.

fysiks 12-21-2011 16:17

Re: Revive
 
Are you really that lazy?

pacheco 12-21-2011 16:21

Re: Revive
 
PHP Code:

#include <amxmodx>
#include <colorchat>
#include <hamsandwich>
 
public plugin_init(){
        
register_plugin("ReViVe""1.0""pacheco"),
        
        
register_clcmd("amx_revive""cmd_revive")
}

public 
cmd_revive(id){
    if(!
is_user_alive(id)){
        
ExecuteHamB(Ham_CS_RoundRespawnid);

        new 
szName32 ];
        
get_user_nameidszName31 );
        
ColorChat(0GREEN"%s has been revived."szName)
    }


You need ColorChat include.

marcoamlp 12-22-2011 04:44

Re: Revive
 
read this:


Quote:

Originally Posted by GHW_Chronic (Post 118128)
  • This plugin works for all mods.
  • This plugin allows you to revive a player with X health.

Command:
  • amx_revive <nick | @all (if CS/CZ: @CT | @T)> <health>

http://forums.alliedmods.net/showpos...28&postcount=1

enjoi. 12-22-2011 19:08

Re: Revive
 
fysiks link you sent me you have to type the damn 100 0 ill try pacheco's i hope it works :D

fysiks 12-22-2011 19:10

Re: Revive
 
Quote:

Originally Posted by enjoi. (Post 1617979)
fysiks link you sent me you have to type the damn 100 0 ill try pacheco's i hope it works :D

You need to read that post again.

enjoi. 12-22-2011 19:12

Re: Revive
 
Yours or marcoalmp?

fysiks 12-22-2011 19:19

Re: Revive
 
Quote:

Originally Posted by enjoi. (Post 1617985)
Yours or marcoalmp?

The link I posted here:

Quote:

Originally Posted by fysiks (Post 1617328)
Are you really that lazy?

You can use the command with only the name.

pacheco 12-22-2011 19:21

Re: Revive
 
Quote:

Originally Posted by enjoi. (Post 1617979)
fysiks link you sent me you have to type the damn 100 0 ill try pacheco's i hope it works :D

Will work.


All times are GMT -4. The time now is 20:54.

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