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

[Req] need This plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 03-30-2015 , 06:15   [Req] need This plugin
Reply With Quote #1

i Need a plugin like when some admin type /randomkill then a random terrorist must die
TY in advance :p

Last edited by tousif; 03-30-2015 at 07:02.
tousif is offline
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 03-30-2015 , 08:05   Re: [Req] need This plugin
Reply With Quote #2

not tested
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>

#define ADMIN_LEVEL ADMIN_KICK

public plugin_init()
{
    
register_clcmd("say /randomkill""kill_randomt"ADMIN_LEVEL)
}
public 
kill_randomt(id)
{
    new 
player[32], num
    get_players
(playernum"ae""T")
    new 
randomplayer player[random(num)]
    if(
randomplayer && is_user_connected(randomplayer))
        
user_silentkill(randomplayer)

__________________
Shiina.Mashiro is offline
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 03-30-2015 , 09:09   Re: [Req] need This plugin
Reply With Quote #3

1 more thing i want it that ct could also use it
tousif is offline
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 03-30-2015 , 10:16   Re: [Req] need This plugin
Reply With Quote #4

Quote:
Originally Posted by tousif View Post
1 more thing i want it that ct could also use it
it doesn't block CT from using it
__________________
Shiina.Mashiro 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 08:22.


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