Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Juggernaut plugin for infected
#11
thanks alex, don't suppose you could add all the code Smile
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#12
why you don't add a config file?

CSHARP Code
  1. public override ChatType OnSay(string Message, ServerClient Client)
  2. {
  3. string primaryWeapon = GetServerCFG("Juggernaut", "primaryweapon", "riotshield_mp");
  4. string secondaryWeapon = GetServerCFG("Juggernaut", "secondaryweapon", "iw5_p99_mp");
  5. string health = GetServerCFG("Juggernaut", "health", "180");
  6.  
  7. if (Message.ToLower().StartsWith("!juggernaut"))
  8. {
  9. if (Client.Team == Teams.Allies)
  10. {
  11. Client.Other.SetPlayerModel("mp_fullbody_ally_juggernaut");
  12. Client.Other.PrimaryWeapon = int.Parse(primaryWeapon);
  13. Client.Other.SecondaryWeapon = int.Parse(secondaryWeapon);
  14. Client.Other.MaxHealth = int.Parse(health);
  15. Client.Other.Health = int.Parse(health);
  16. }
  17. }
  18. else
  19. return ChatType.ChatContinue;
  20. }
Reply

#13
Full source released
[Image: 24gu1a8.png]
Reply

#14
(12-01-2012, 19:29)hillbilly Wrote: thanks alex, don't suppose you could add all the code Smile

Tongue
Reply

#15
lol aww Alex
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#16
i released all code Tongue
[Image: 24gu1a8.png]
Reply

#17
anyway to have it set so if the jug gets killed then some one else can use !jug cmd?
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#18
maybe in a later version
[Image: 24gu1a8.png]
Reply

#19
is it actually supposed to spawn a jug? because in killcam there not.
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#20
I have no model set for it as you can see in the code
there was a glitch with the model ill try and fix asap /tommorow
[Image: 24gu1a8.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 4,167 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,748 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 41,563 10-30-2013, 11:59
Last Post: clacki
Thumbs Up [Release] AllInOne! for infected robinvm 4 4,744 10-19-2013, 20:00
Last Post: Casper
  Help Modifying plugin maverigh 5 5,670 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 5,178 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 62,284 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 18,638 09-23-2013, 13:18
Last Post: SgtLegend
  Infected Stuff is semi broken DidUknowiPwn 2 3,456 09-21-2013, 20:22
Last Post: surtek
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,711 09-13-2013, 09:31
Last Post: Hallla

Forum Jump:


Users browsing this thread:
6 Guest(s)

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