ItsMods

Full Version: Sharpshooter Mod (Beta)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
[Image: x5078Untitled-1r67.jpg]

What's that?
That's gametype was in Black Ops. I made that for Modern Warfare 3.

Gametype information
Every 30 seconds, every player will have random weapon, for every kill you will get random perk.

Main information
On spawn, you must type !s to unlock spawn protection, and get weapon. Sorry, i can't make without it, plugins are not powerful as mods (for now) Big Grin . Recommended to play in DM!

Future features
- Weapons with attachments
- And something more

POSSIBLE BUGS
onKill - you can lag, or do not get perk. - NOT TESTED. I Can't create server because internet sux Dumb Bitch
All things are works fine.

Credits
@jaydi - Made it
@JariZ - Helping
@Treyarch - Idea

Download
NEW:
[attachment=1803]


Video is comming
Next plugins:
- Shop system
- Random weapon mod
I hope the !s bug is fixed, also I really don't like the !s part at all.
Will probably release a modded version of the one I made for RtD because that one does work fine, and doesn't lag so much
@JayDi if you wanna print messages to all players you can use null as the ServerClient parameter you don't need to use foreach.
CSHARP Code
  1. private void printAll(string msg)
  2. {
  3. foreach (ServerClient client in base.GetClients())
  4. {
  5. base.iPrintLn(msg, client);
  6. }
  7. }
  8.  
  9. private void printAllBold(string msg)
  10. {
  11. foreach (ServerClient client in base.GetClients())
  12. {
  13. base.iPrintLnBold(msg, client);
  14. }
  15. }


change to:

CSHARP Code
  1. private void printAll(string msg)
  2. {
  3. base.iPrintLn(msg, null);
  4. }
  5.  
  6. private void printAllBold(string msg)
  7. {
  8. base.iPrintLnBold(msg, null);
  9. }


will solve some of your lag issues indeed Smile
A lag often means that an exception occured. I recommend you to use try catch blocks. Also if you use many if statements to check one single variable (like you do with the random perks) it's better to use switch case.
(03-28-2012, 07:36)JariZ Wrote: [ -> ]I hope the !s bug is fixed, also I really don't like the !s part at all.
Will probably release a modded version of the one I made for RtD because that one does work fine, and doesn't lag so much

thats fixed
okay, thanks.
I didn't tested that mod with more players. I will remake thoose functions.
ok, reuploaded. fixed
:YUNO: add source? saves me from decompiling Smile
because there are bugs he'll fix tomorrow
@pieter stop decompiling -.-
I think that people have the right to keep the source to themselves and when they decide not to release it, i'm okay with that.
Where i'm not okay with is when people post sourcecodes theirselves while the author doesn't approve.

i wont stop decompiling, that just curiousity Smile

however i would never and will never post the full source without authors agreement Wink


this was just a snippet, to elaborate the lag issue Smile
Pages: 1 2