←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

[CS: Source] Give C4 [Weapon C4 Explosive]

Adminek AMXX.PL's Photo Adminek AMXX.PL 26.05.2012

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-TerroriestsSo they only who can controll the c4 for the terroriest.Changelog :26/05/2012 - First ReleaseSource : PHP Code:

/* Plugin Template generated by Pawn Studio */#include #include #pragma semicolon 1#define CS_TEAM_CT 3public 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.

Attached Files Posted Image Get Plugin or Get Source (GiveWeaponC4.sp - 699 Bytes)

Wyświetl pełny artykuł
Quote