Raised This Month: $ Target: $400
 0% 

[Help Req] Round Money


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wickedd
Veteran Member
Join Date: Nov 2009
Old 09-10-2015 , 20:30   Re: [Help Req] Round Money
Reply With Quote #1

PHP Code:
cs_set_user_money(Playerclamp(cs_get_user_money(Player) + 1000016000)); 

PHP Code:
cs_set_user_money(Player, ( cs_get_user_moneyPlayer ) + 1000)); 
What do you mean by the first round? The first round a player plays or the first round of the map?


Edit:

PHP Code:
public onSpawnPlayer )
{
    new 
name33 ];
    
get_user_namePlayer,name,charsmaxname ) )
    
    if( 
is_user_alivePlayer ) && ( get_user_flagsPlayer ) & ADMIN_RESERVATION ) )
    {
        
cs_set_user_money(Player, ( cs_get_user_moneyPlayer ) + 1000));
        
ClientPrintColor(Player"^4[^3FrontLineD2^4]^1Because of his ^4VIP privileges^1, player ^3%s^1 is getting^4 1000$^1 bonus!"name)
        
    }

__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 09-10-2015 at 20:38.
wickedd is offline
DeathOrAlive
Member
Join Date: Sep 2015
Location: Sofia, Bulgaria
Old 09-10-2015 , 20:49   Re: [Help Req] Round Money
Reply With Quote #2

The code still doesn't give the money, neither prints the message.

P.S. I meant the first round of the map, when everybody has 800$.
__________________
Mess with the best, die like the rest!

Quote:
Originally Posted by aron9forever View Post
You're trying to run 11 servers on each core?
You're bringing the word retard to a new level.

Last edited by DeathOrAlive; 09-10-2015 at 20:57.
DeathOrAlive is offline
Send a message via Skype™ to DeathOrAlive
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 22:17.


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