• 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]
[-] The following 1 user says Thank You to koro35 for this post:
  • hillbilly
  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 1,732 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 1,999 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 18,588 10-30-2013, 11:59
Last Post: clacki
Thumbs Up [Release] AllInOne! for infected robinvm 4 2,217 10-19-2013, 20:00
Last Post: Casper
  Help Modifying plugin maverigh 5 2,675 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 1,924 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 30,155 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 9,639 09-23-2013, 13:18
Last Post: SgtLegend
  Infected Stuff is semi broken DidUknowiPwn 2 1,477 09-21-2013, 20:22
Last Post: surtek
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 1,157 09-13-2013, 09:31
Last Post: Hallla

Forum Jump:


Users browsing this thread: 1 Guest(s)