Raised This Month: $ Target: $400
 0% 

[REQ] VIP Money Per Round


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Leho
Junior Member
Join Date: Apr 2018
Old 04-09-2018 , 09:21   [REQ] VIP Money Per Round
Reply With Quote #1

Hi,I am looking for a plugin which can give 10K(10.000) per round to any VIP(I am running a competitive server).
Leho is offline
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 04-09-2018 , 11:37   Re: [REQ] VIP Money Per Round
Reply With Quote #2

Try :
PHP Code:
#include <amxmodx>
#include <cstrike>

public plugin_init(){
    
register_plugin("Round Money""1.0""DiGiTaL")
    
register_logevent("RoundNew"2"1=Round_Start")
}

public 
RoundNew(){
    new 
players[32], numx
    get_players
(playersnum"a")
    for(new 
i=0;i<num;i++){
        
players[i]
        if(
get_user_flags(x) & ADMIN_RESERVATION)
        {
            if(
cs_get_user_money(x) < 10000)
                
cs_set_user_money(x10000)
        }
    }

Attached Files
File Type: sma Get Plugin or Get Source (roundmoney.sma - 327 views - 490 Bytes)

Last edited by instinctpt1; 04-09-2018 at 12:43. Reason: Updated
instinctpt1 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 04-09-2018 , 12:00   Re: [REQ] VIP Money Per Round
Reply With Quote #3

Quote:
Originally Posted by instinctpt1 View Post
Try :
PHP Code:
#include <amxmodx>
#include <cstrike>

public plugin_init(){
    
register_plugin("Round Money""1.0""DiGiTaL")
    
register_logevent("RoundNew"2"1=Round_Start")
}

public 
RoundNew(){
    new 
players[32], numx
    get_players
(playersnum"a")
    for(new 
i=0;i<num;i++){
        
players[i]
        if(
get_user_flags(x) && ADMIN_RESERVATION)
        {
            if(
cs_get_user_money(x) < 10000)
                
cs_set_user_money(x10000)
        }
    }

Don't post codes that won't work.
__________________
edon1337 is offline
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 04-09-2018 , 12:14   Re: [REQ] VIP Money Per Round
Reply With Quote #4

Thanks for pointing Out
Minor Mistake . Updated !
instinctpt1 is offline
Leho
Junior Member
Join Date: Apr 2018
Old 04-09-2018 , 12:31   Re: [REQ] VIP Money Per Round
Reply With Quote #5

Where I need to enter this ? Can you give me your discord or steam ?

Last edited by Leho; 04-09-2018 at 12:32.
Leho is offline
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 04-09-2018 , 12:46   Re: [REQ] VIP Money Per Round
Reply With Quote #6

Click on Get Plugin ( Added Now )
And download the plugin
If you dont know what to do after wards :/ , Follow this :
You will get a .amxx file if you will download it
Now put that file in GAME DIR > Cstrike > Addon > Amxmodx > Plugins > [ now paste that plugin here ]

Open plugins.ini ( Amxmodx > Configs > Plugins.ini )
And write this on the last line there
roundmoney.amxx
Save the file and then Just restart your server

Last edited by instinctpt1; 04-09-2018 at 12:47. Reason: :|
instinctpt1 is offline
Leho
Junior Member
Join Date: Apr 2018
Old 04-09-2018 , 12:56   Re: [REQ] VIP Money Per Round
Reply With Quote #7

aha ok thx

Last edited by Leho; 04-09-2018 at 12:57.
Leho is offline
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 07:52.


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