Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Используя этот сайт, вы соглашаетесь Условия использования.
Here's a simple script for some of you guys out there, this just gives you max ammo when you type !giveammo in chat.
How to install:
1) Download zip below.
2) Extract the .dll
3) Put the .dll inside your MW3 Dedi folder in scripts
4a) Open each dsr you want it to be included in and type
loadScript "Ammo.dll"
4b) Open server.cfg and add
loadScript "Ammo.dll"
this will add it to all your dsr's.
Source
using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; namespace Ammo { public class Ammo : BaseScript { public Ammo() : base() { PlayerConnected += new Action(entity => { Call("setdvar", "motd", "DUKIP is awesome"); }); } public override void OnSay(Entity player, string name, string message) { if (message.StartsWith("!giveammo")) { var weapon = player.CurrentWeapon; player.Call("giveMaxAmmo", player.CurrentWeapon); } } } }Changelog:
V1.0 Initial Release
A massive thank you to two the person who guided me and put up with my shit skills.