[RELASE]Advertise plugin
Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Используя этот сайт, вы соглашаетесь Условия использования.
Hi all,
this plugin will create an advertise on players HUD:
Server.cfg:
Source:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using InfinityScript; namespace adv_plugin { public class adv_plugin : BaseScript { string message = "^1Visit my site"; int interval = 20000; public adv_plugin() : base() { message = Call("getdvar", "adv_message"); string tmpM = Call("getdvar", "adv_messinterval"); interval = Convert.ToInt32(tmpM); OnInterval(interval, () => { Call("allclientsprint", message); return true; }); } } }[attachment=0]Advertise.rar[/attachment]
tuttocarbonio.altervista.org