Request User welcome message
#1
hi, in my server welcome message for users cant work.. if anyone have it please share to me . thanks
Reply

#2
Code:
using System.Text; using Addon; using System; namespace Welcome { public class visitplug : CPlugin { public override void OnServerLoad() { ServerPrint("Welcome plugin loaded"); } public override void OnPlayerConnect(ServerClient Client) { ServerSay("Welcome Player ^2" + Client.Name + " ^7to the Server", true); } } }
Reply

#3
It's so hard. Troll
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#4
Made it self! Like a sir

This took me 5 long min of hard work, and you? Troll
Reply

#5
this will help.? without plugins?.. and i have put this code on notepad or what??
Reply

#6
http://www.itsmods.com/forum/Thread-How-...noobs.html
http://www.itsmods.com/forum/Thread-Rele...Maker.html
I now host all my MW3 projects on my private GIT repo
Reply

#7
(12-14-2013, 22:22)EnVi Sweden Rocks Wrote: Made it self! Like a sir

This took me 5 long min of hard work, and you? Troll

Haha I have a better one Like a sir
Troll
Troll
Dumb Bitch

Code:
using System; using Addon; namespace welcomer { public class welcomer : CPlugin { public override void OnServerLoad() { ServerPrint("Welcome Plugin LOADED..."); base.OnServerLoad(); } public override void OnPlayerConnect(ServerClient Client) { ServerSay("^2Welcome ^3" + Client.Name + " ^2 To the server!", true); base.OnPlayerConnect(Client); } public override void OnPlayerDisconnect(ServerClient Client) { iPrintLn(" ^2"+ Client.Name + " ^3Has exit the server!",null); base.OnPlayerDisconnect(Client); } } }
Reply

#8
Sorry, my asshole mode will be in use for the moment.

This is redundant, you're not using any system references
Code:
using System;
Why the space and the capital T?
Code:
^2 To

Again, not sure why there is a space
Code:
iPrintLn(" ^2"

Another capital letter?
Code:
^3Has

Keep consistent, leave a space after the comma
Code:
",null);

Use proper naming conventions, namespaces and classes should always start with a capital letter, classes should never contain the same exact word as the namespace.

Wrong
Code:
namespace welcomer { public class welcomer : CPlugin {} }

Correct
Code:
namespace Welcomer { public class Main : CPlugin {} }

Sorry, just felt like being a code nazi today. Fuck yea!
I now host all my MW3 projects on my private GIT repo
Reply

#9
(02-13-2014, 23:17)Slimpy Wrote:
(12-14-2013, 22:22)EnVi Sweden Rocks Wrote: Made it self! Like a sir

This took me 5 long min of hard work, and you? Troll

Haha I have a better one Like a sir
Troll
Troll
Dumb Bitch

Code:
using System; using Addon; namespace welcomer { public class welcomer : CPlugin { public override void OnServerLoad() { ServerPrint("Welcome Plugin LOADED..."); base.OnServerLoad(); } public override void OnPlayerConnect(ServerClient Client) { ServerSay("^2Welcome ^3" + Client.Name + " ^2 To the server!", true); base.OnPlayerConnect(Client); } public override void OnPlayerDisconnect(ServerClient Client) { iPrintLn(" ^2"+ Client.Name + " ^3Has exit the server!",null); base.OnPlayerDisconnect(Client); } } }

Oh Look Its Tony Troll
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
Reply

#10
(02-13-2014, 23:43)SgtLegend Wrote: Sorry, my asshole mode will be in use for the moment.

This is redundant, you're not using any system references
Code:
using System;
Why the space and the capital T?
Code:
^2 To

Again, not sure why there is a space
Code:
iPrintLn(" ^2"

Another capital letter?
Code:
^3Has

Keep consistent, leave a space after the comma
Code:
",null);

Use proper naming conventions, namespaces and classes should always start with a capital letter, classes should never contain the same exact word as the namespace.

Wrong
Code:
namespace welcomer { public class welcomer : CPlugin {} }

Correct
Code:
namespace Welcomer { public class Main : CPlugin {} }

Sorry, just felt like being a code nazi today. Fuck yea!

I didn't feel like editing it, I knew it was wrong but who cares...just wanted to make one with:
Code:
public override void OnPlayerDisconnect(ServerClient Client) ect...
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Request] Welcome plugin that checks user for VAC bans. graphix2004 0 2,838 07-26-2015, 12:19
Last Post: graphix2004
  Help Headshot Message Plugin Slimpy 4 4,415 01-23-2014, 10:18
Last Post: Slimpy
  [Request] Permanent Message LiL-Joker-69 8 6,638 01-18-2014, 09:01
Last Post: yokai134

Forum Jump:


Users browsing this thread:
1 Guest(s)

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