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,330 02-20-2014, 19:48
Last Post: Nekochan
  WOW SUCH SPAM Nekochan 13 7,520 11-09-2013, 16:29
Last Post: Nekochan
Wink Plugin with !ban !kick and !tampban clemi555 3 4,194 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,785 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 41,928 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,723 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 5,240 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 62,812 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 18,763 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,727 09-13-2013, 09:31
Last Post: Hallla

Forum Jump:


Users browsing this thread:
1 Guest(s)

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