• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] WeaponBuilder (for plugin developers)
#1
  Reply
#2
Nice job @JariZ.
I have just 1 tip. In c# when declaring an enum you don't have to assign every entry a number. If you give the first entry a number it will automatically count upwards.

For example
Code:
public enum Reticle { None = 0, TargetDot = 1, Delta = 2, UDot = 3, MilDot = 4, Omega = 5, Lambda = 6 };
Could be simplified to
Code:
public enum Reticle { None = 0, TargetDot, Delta, UDot, MilDot, Omega , Lambda};


Btw, @zxz0O0 this class should really be build in to the addon's api.
[Image: MaEIQ.png]
  Reply
#3
@Pozzuh I've been asking nukem for over a few months to add this but he never gave me a serious reaction so I just decided to release this seperatly. This class is at least 2/3 months old now.
  Reply
#4
@Pozzuh I did that mostly to make sure that each value had the right number while testing.
I know that already, I've been working with C# for at least 3/4 years now.
  Reply
#5
What Pozzuh said. Anyway, nice job.
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
  Reply
#6
Nice job! Thank you!
  Reply
#7
I <3 it!
  Reply
#8
Awesome job @JariZ I didn't know you had something like this. If I find time I will defintely integrate this into the addon.
[Image: azuw.jpg]
  Reply
#9
I kinda forgot about it after @Nukem ignoring me.
I haven't tested the snipers fully so you might want to test it a bit before adding it.
  Reply
#10
Successfully ported to the server addon. Had to make some small changes but I think it's working properly now. It will be in the next update (release date unknown).
[Image: azuw.jpg]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 3,885 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,342 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 38,158 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,245 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 4,604 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 57,441 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 17,343 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,524 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 30,301 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 2,840 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread: 1 Guest(s)