giveammo help please!
Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Используя этот сайт, вы соглашаетесь Условия использования.
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); } } } }how to make a command "!giveammo" could only be used one time?