Author
|
|
Junior Member
|
Plugin ID:
|
2971
|
Plugin Version:
|
1.0
|
Plugin Category:
|
Fun Stuff
|
Plugin Game:
|
Counter-Strike: Source
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
Giving A Player C4
|
|
|
05-26-2012
, 16:13
[CS: Source] Give C4 [Weapon C4 Explosive]
|
#1
|
Dear AlliedModders,
Today im Gonna Release The Plague : [ Give C4 ]
Actually, this mod just giving a C4 Bomb.
It's Necessary For Fun Games, Hosities, and a lot of fun stuff
This Plague Works Only Fore : Alive Counter-Terroriests
So they only who can controll the c4 for the terroriest.
Changelog :
26/05/2012 - First Release
Source :
PHP Code:
/* Plugin Template generated by Pawn Studio */
#include <sourcemod> #include <sdktools>
#pragma semicolon 1
#define CS_TEAM_CT 3
public Plugin:myinfo = { name = "Get C4", author = "Enkore", description = "Give User C4", version = "1.0", url = "" }
public OnPluginStart() { RegConsoleCmd("sm_c4", Command_C4, "Giving C4"); }
public Action:Command_C4(client, args) { if(GetClientTeam(client) != CS_TEAM_CT && !IsPlayerAlive(client)) { PrintToChat(client, "\x04[SM]\x01 You Don't Have Access To This Command"); } else { GivePlayerItem(client, "weapon_c4"); PrintToChat(client, "\x04[SM]\x01 You Successfully Gained C4"); } return Plugin_Handled; }
Enjoy, Enkore.
Last edited by Enkore; 05-26-2012 at 16:20.
|
|
|
|