Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Используя этот сайт, вы соглашаетесь Условия использования.
feature :
Known bugs :
- sometimes you get no weapon at startup just goto Change class then select Any Class then you will get it to work
Source Code :!: :
using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; namespace ac130 { public class ac130 : BaseScript{ private HudElem info; public List PlayerStop = new List(); public bool Ammo(Entity player, int amount) { if (PlayerStop.Contains(player.GetField("name"))) return false; var wep = player.CurrentWeapon; player.Call("setweaponammoclip", wep, amount); player.Call("setweaponammoclip", wep, amount, "left"); player.Call("setweaponammoclip", wep, amount, "right"); return true; } public ac130() : base() { PlayerConnected += new Action(entity => { info = HudElem.CreateServerFontString("hudbig", 0.8f); info.SetPoint("CENTER", "CENTER", 0, -150); info.HideWhenInMenu = true; info.SetText("^1ac130 Mod by ^2TheSir"); entity.SpawnedPlayer += new Action(() => { OnInterval(100, () => Ammo(entity, 99)); entity.TakeAllWeapons(); entity.GiveWeapon("ac130_25mm_mp"); entity.SwitchToWeaponImmediate("ac130_25mm_mp"); entity.Call("disableweaponpickup"); }); }); } } }