Raised This Month: $ Target: $400
 0% 

money problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 06-05-2009 , 03:33   Re: money problem
Reply With Quote #2

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <cstrike>

#define PLUGIN "Money bonus"
#define VERSION "1.0"
#define AUTHOR "TitANious"

new pCvarMoney

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
pCvarMoney register_cvar("sv_money""30")
}
public 
client_putinserver(id)
{
    new 
iMoney cs_get_user_money(id)
    new 
iPcvar get_pcvar_num(pCvarMoney)
    
cs_set_user_money(idiMoney iPcvar);

Would this work? It compiles fine
I dont understand what you are meaning, so i hope this is that
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.

Last edited by TitANious; 06-05-2009 at 03:38.
TitANious is offline
Send a message via MSN to TitANious
 



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 13:56.


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