ItsMods
[Tutorial] friends help take care - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: [Tutorial] friends help take care (/Thread-Tutorial-friends-help-take-care.html)

Pages: 1 2


friends help take care - alemonoes - 07-04-2012

friends help take care
I want to create an automated messaging plugin for my server console but that does not appear if [TG] Admin and also can put a kind of yell at the center of the map if you help me with the source code please


RE: friends help take care - estebespt - 07-04-2012

(07-04-2012, 00:50)alemonoes Wrote: friends help take care
I want to create an automated messaging plugin for my server console but that does not appear if [TG] Admin and also can put a kind of yell at the center of the map if you help me with the source code please

English please What do you need?


RE: friends help take care - alemonoes - 07-04-2012

(07-04-2012, 00:52)estebespt Wrote:
(07-04-2012, 00:50)alemonoes Wrote: friends help take care
I want to create an automated messaging plugin for my server console but that does not appear if [TG] Admin and also can put a kind of yell at the center of the map if you help me with the source code please

English please What do you need?
Source Code Timmed Messages


RE: friends help take care - estebespt - 07-04-2012

(07-04-2012, 01:01)alemonoes Wrote:
(07-04-2012, 00:52)estebespt Wrote:
(07-04-2012, 00:50)alemonoes Wrote: friends help take care
I want to create an automated messaging plugin for my server console but that does not appear if [TG] Admin and also can put a kind of yell at the center of the map if you help me with the source code please

English please What do you need?
Source Code Timmed Messages

For the chat or for the console?


RE: friends help take care - alemonoes - 07-04-2012

(07-04-2012, 01:05)estebespt Wrote:
(07-04-2012, 01:01)alemonoes Wrote:
(07-04-2012, 00:52)estebespt Wrote:
(07-04-2012, 00:50)alemonoes Wrote: friends help take care
I want to create an automated messaging plugin for my server console but that does not appear if [TG] Admin and also can put a kind of yell at the center of the map if you help me with the source code please

English please What do you need?
Source Code Timmed Messages

For the chat or for the console?
chat


RE: friends help take care - estebespt - 07-04-2012

(07-04-2012, 01:32)alemonoes Wrote:
(07-04-2012, 01:05)estebespt Wrote:
(07-04-2012, 01:01)alemonoes Wrote:
(07-04-2012, 00:52)estebespt Wrote:
(07-04-2012, 00:50)alemonoes Wrote: friends help take care
I want to create an automated messaging plugin for my server console but that does not appear if [TG] Admin and also can put a kind of yell at the center of the map if you help me with the source code please

English please What do you need?
Source Code Timmed Messages

For the chat or for the console?
chat

the addon comes with the timemed message features just go to the timed messages text file and write what you want


RE: friends help take care - alemonoes - 07-04-2012

(07-04-2012, 01:52)estebespt Wrote:
(07-04-2012, 01:32)alemonoes Wrote:
(07-04-2012, 01:05)estebespt Wrote:
(07-04-2012, 01:01)alemonoes Wrote:
(07-04-2012, 00:52)estebespt Wrote: English please What do you need?
Source Code Timmed Messages

For the chat or for the console?
chat

the addon comes with the timemed message features just go to the timed messages text file and write what you want
if I will but I want to add a plugin I'm making


RE: friends help take care - estebespt - 07-04-2012

Code:
using System; using System.Collections.Generic; using System.Text; using Addon; namespace derp { public class derp : CPlugin { int jerp = 0; public override void OnAddonFrame() { jerp++; if (jerp == timeyouwant*4) /*onserveraddon works every 250 ms that means 4 times every second*/ { TellClient(Client.ClientNum, "derpherp", true); jerp = 0; } } } }



RE: friends help take care - alemonoes - 07-04-2012

(07-04-2012, 02:28)estebespt Wrote: TellClient(Client.ClientNum, "derpherp", true);

and the event and return


RE: friends help take care - estebespt - 07-04-2012

(07-04-2012, 02:29)alemonoes Wrote:
(07-04-2012, 02:28)estebespt Wrote: TellClient(Client.ClientNum, "derpherp", true);

and the event and return

fixed the code
try that one