Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request [IDEA]Spam Plugin
#1
Wink 
IDEA
Community Good I have a question I want to create a plugin for my server that my web site plublicidad
an example

When the player dies leave a message on the screen of the player with the command and tellclient already created the code but I like that I gave him the check

Quote:using System;
using Addon;

namespace spam_plugin_test
{
public class spam_plugin_test : CPlugin
{
public override void OnServerLoad()
{
ServerPrint("spam_plugin_load By Tonejo!");
}

public override void OnPlayerSpawned(ServerClient Client)
{
TellClient(5, "^2Visita ^4Nuestro ^1Sitio Web ^2www.tgclancr.enjin.com");
}
}
}
Reply

#2
Thanks?
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#3
why spam
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#4
(07-03-2012, 03:34)JayDi Wrote: why spam
is the name that occurred to me but would like an automated message when the person dies to publicize my website
Reply

#5
(07-03-2012, 04:05)alemonoes Wrote:
(07-03-2012, 03:34)JayDi Wrote: why spam
is the name that occurred to me but would like an automated message when the person dies to publicize my website

timed messages.....
LOL
Reply

#6
CSHARP Code
  1. TellClient(5, "^2Visita ^4Nuestro ^1Sitio Web ^2www.tgclancr.enjin.com");

This means whenever someone spawns it will send this message to client 5. Better replace it with
CSHARP Code
  1. TellClient(Client.ClientNum, "^2Visita ^4Nuestro ^1Sitio Web ^2www.tgclancr.enjin.com", false);
[Image: azuw.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  spam section ded kokole 20 12,197 02-20-2014, 19:48
Last Post: Nekochan
  WOW SUCH SPAM Nekochan 13 7,471 11-09-2013, 16:29
Last Post: Nekochan
Wink Plugin with !ban !kick and !tampban clemi555 3 4,167 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,748 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 41,565 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,670 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 5,179 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 62,286 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 18,639 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,711 09-13-2013, 09:31
Last Post: Hallla

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.