Raised This Month: $32 Target: $400
 8% 

show_money v1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Weejee
New Member
Join Date: May 2006
Old 05-25-2006 , 18:48  
Reply With Quote #11

Quote:
Originally Posted by Hawk552
Quote:
Originally Posted by Weejee
as long as amxx doesn't give you or your team advantages above the opposing team it is ok i think
Well, the thing is, all you have to do is remove register_plugin and the opposing team has no way of checking if you're running any cheating stuff.
didn't know that.
Weejee is offline
anhrulz
Junior Member
Join Date: Sep 2006
Old 10-25-2006 , 03:33   Re: show_money v1.0
Reply With Quote #12

Heres a suggestion. Maybe you could make a plugin that allows teamates to give each other money. Would work well with this mod =O If so + karma for the next plugin
anhrulz is offline
Send a message via MSN to anhrulz
freedomsquad
New Member
Join Date: Oct 2006
Old 10-26-2006 , 18:47   Re: show_money v1.0
Reply With Quote #13

Sorry man nice idea but i know for fact leagues do not allow amxx to be running during a match
freedomsquad is offline
kblo
Junior Member
Join Date: Nov 2012
Old 11-27-2012 , 14:22   Re: show_money v1.0
Reply With Quote #14

Managed to apply this to display to all players at once but still not 100%.

this command shows how much all players have but i want to apply this to the server so it would be automated by round start.

admin_execall say_team /money; say_team /money;

this works with plugin uploaded to the server.

anyone knows how to put the idea with the plugin itself?
kblo is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 11-27-2012 , 14:42   Re: show_money v1.0
Reply With Quote #15

Quote:
Originally Posted by kblo View Post
Managed to apply this to display to all players at once but still not 100%.

this command shows how much all players have but i want to apply this to the server so it would be automated by round start.

admin_execall say_team /money; say_team /money;

this works with plugin uploaded to the server.

anyone knows how to put the idea with the plugin itself?
Try this, it will print the money amount after the freezetime has ended.

PHP Code:
/* say_team /money // client cmd */

#include <amxmodx>
#include <cstrike>
#include <hamsandwich>

#define PLUGIN "show_money"
#define VERSION "1.0"
#define AUTHOR "Weejee & n2k"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /money""cmd_money")
    
register_clcmd("say_team /money""cmd_money")
    
    
RegisterHam(Ham_Spawn"player""Ham_CBasePlayer_Spawn_Post"1)
}

public 
cmd_money(id) { 
    new 
iMoney;
    new 
money_Buffer[100+1];
    
iMoney cs_get_user_money(id); 
    
formatmoney_Buffer100"$%d"iMoney ); 
    
    
engclient_cmdid"say_team"money_Buffer );


public 
Ham_CBasePlayer_Spawn_Post(id)
{
        if(
is_user_alive(id))
        {
            
cmd_money(id)
        }

__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.

Last edited by bibu; 11-27-2012 at 15:57.
bibu is offline
kblo
Junior Member
Join Date: Nov 2012
Old 11-27-2012 , 14:47   Re: show_money v1.0
Reply With Quote #16

bibu, thanks for such a fast reply...

Can it show the money right on the begining? Right after the respawn.

Thankyou!

edit: It didn't work, freeze ends and nothing happens.

Last edited by kblo; 11-27-2012 at 14:54.
kblo is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 11-27-2012 , 15:10   Re: show_money v1.0
Reply With Quote #17

Quote:
Originally Posted by bibu View Post
Try this, it will print the money amount after the freezetime has ended.

PHP Code:
    register_event("HLTV""EventNewRound""a""1=0""2=0"
New Round is before freeze time and Round Start is after freeze time.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 11-27-2012 , 15:57   Re: show_money v1.0
Reply With Quote #18

My bad, try my updated version.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
kblo
Junior Member
Join Date: Nov 2012
Old 11-27-2012 , 23:09   Re: show_money v1.0
Reply With Quote #19

bibu, it worked just as i asked.

thank you very much.
kblo is offline
Reply


Thread Tools
Display Modes

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:27.


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