• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request User welcome message
#11
(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
CHSARP Code
  1. 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
CHSARP Code
  1. ",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
CHSARP Code
  1. namespace welcomer
  2. {
  3. public class welcomer : CPlugin {}
  4. }


Correct
CHSARP Code
  1. namespace Welcomer
  2. {
  3. public class Main : CPlugin {}
  4. }


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

Comfortability as is. Troll
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)