Raised This Month: $ Target: $400
 0% 

this going me crazy!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
StepZeN
Member
Join Date: Jan 2012
Location: Sweden
Old 06-19-2012 , 19:38   this going me crazy!
Reply With Quote #1

Hello there!,i was like hmm,i maybe can make so v.i.p gets more money on moneyblock in blockmaker.. ,so i asking u guys if u can help me out with this now BEFORE i will throw my computer out of the window!

this is all i can do:

PHP Code:
ActionMoney(ident)
{
    if ( 
cs_get_user_team(id) == CS_TEAM_T )
    {
        if(
get_user_flags(id) & ADMIN_CHAT && ( !g_money_used[id] );
        {    
            new 
property[5];
            
GetProperty(ent1property);
            
mm_add_user_money(idstr_to_num(property) + 10);
            
g_money_used[id] = true
            
            
set_hudmessage(025500.010.1800.01.00.250.252);
            
ColorChat 0GREY"^x03 You got %i more money!"str_to_num(property) + 10);
            
            
emit_sound(idCHAN_STATICg_sound_money1.0ATTN_NORM0PITCH_NORM);
        }
        else if(!(
get_user_flags(id) & ADMIN_CHAT && ( !g_money_used[id] );
        {
            new 
property[5];
            
GetProperty(ent1property);
            
mm_add_user_money(idstr_to_num(property));
            
g_money_used[id] = true
            
            
set_hudmessage(025500.010.1800.01.00.250.252);
            
ColorChat 0GREY"^x03 You got %i more money!"str_to_num(property));
            
            
emit_sound(idCHAN_STATICg_sound_money1.0ATTN_NORM0PITCH_NORM)
        }
        else
        {
            
set_hudmessage(025500.010.1800.01.00.250.252);
            
show_hudmessage(id"Only Terrorists can take Money Block!");
    }

what i need help with is:
when people with flag ADMIN_CHAT going on the block he will get the property on the block + 10 money

i am happy for all help i can get!

Regards StepZ!
__________________
*Plugins:*
*HNS: V.I.P Menu[70%]
*HNS: Admin Menu[30%]
*HNS: Point Mod[100%] Public: Download.
********************


Last edited by YamiKaitou; 06-19-2012 at 20:30.
StepZeN is offline
 



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 06:10.


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