Raised This Month: $ Target: $400
 0% 

[Mod] Team-Leader


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
krededk99
Senior Member
Join Date: Nov 2007
Old 12-12-2009 , 05:03   [Mod] Team-Leader
Reply With Quote #1

I got this plugin named "Leader Models", wich gives the guy on each team with the highest kill count a custom model at each round start.

But when i'm using respawn on a map, if the leader with the custom model changes side during a round, he keeps the 'leader' model on the oppesite team (like a CT running around with the T custom model).

After the round restarts, its back to normal.

Would it be possible for some bright head in here to make some kind of model reset function that resets the leader's skin to a custom skin if the 'leader' changes teams during a round?
Attached Files
File Type: sma Get Plugin or Get Source (LeaderModel.sma - 800 views - 3.0 KB)
krededk99 is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 12-13-2009 , 07:03   Re: [Mod] Team-Leader
Reply With Quote #2

Try this.. Requires the Hamsandwich module.

*NOTE: If someone got more kills than the leader, the plugin will make him the leader only when the round starts, and if you're playing with DeathMatch, you should have a timer so the rounds will end.
Attached Files
File Type: sma Get Plugin or Get Source (LeaderModel.sma - 659 views - 3.6 KB)
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
krededk99
Senior Member
Join Date: Nov 2007
Old 12-13-2009 , 07:48   Re: [Mod] Team-Leader
Reply With Quote #3

Excellent mate, i'll try it out later today!

And i'm using a plugin that fakes bomb on maps so the timer runs out on no_objective maps with respawn. It's for a knife server
krededk99 is offline
ditmesteam
Senior Member
Join Date: Oct 2009
Old 12-13-2009 , 08:11   Re: [Mod] Team-Leader
Reply With Quote #4

Quote:
Originally Posted by Dores View Post
Try this.. Requires the Hamsandwich module.

*NOTE: If someone got more kills than the leader, the plugin will make him the leader only when the round starts, and if you're playing with DeathMatch, you should have a timer so the rounds will end.
in DeathMatch, round is nerver end. Could you make this for DeathMatch (not end rounds)
ditmesteam is offline
Old 12-13-2009, 09:45
Dores
This message has been deleted by Dores. Reason: not good...
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode