Show teammate's money
2 Attachment(s)
As the title, this is a simple plugin, I have searched a topic show_money, I don't think is so good, so, I did it! I think this plugin will work better than show_money, when player spawn, will show hud message of teammate's money to every teammate. I have searched, there is any plugin else like this ! I think this plugin is useful for match server !
Cvars: stm_on <1|0> ---- on/off the plugin stm_st_on <1|0> ---- <on/off> whether show the status text or not changlelog v1.1 -- accepted xPaw advice v1.2 -- accepted Exolent advice v1.2.1 -- add a client command "say /money"v1.3 -- add status text idea by roflmao456 v1.3.1 -- fixed the code and add the cvars |
Re: Show teammate's money
If 16 players, the floor will close the screen? xD
|
Re: Show teammate's money
- Use cs_get_user_team
- Check id != client, before checking team |
Re: Show teammate's money
@xPaw accepted !
update ! |
Re: Show teammate's money
@DarkSkif
do you think the match server will 16 players ? |
Re: Show teammate's money
You could make a single task using new round HLTV event, then you would proceed all players in 1 task, that would save lots of cs_get_user_money and cs_get_user_team natives call, though it's only called once at round start...
|
Re: Show teammate's money
you mean set a task with new round to all players ?
|
Re: Show teammate's money
In fact what would be better is detect last teamate spawn and then print all players money.
Anyway, i don't see any real clean way to do it, so maybe your way is easier. |
Re: Show teammate's money
Quote:
|
Re: Show teammate's money
n1 plugin pro :D
|
All times are GMT -4. The time now is 08:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.