AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Giving specific players extra startmoney. (https://forums.alliedmods.net/showthread.php?t=233682)

Going Dutch 01-18-2014 17:23

Giving specific players extra startmoney.
 
Hi,

Is there a way too give specific players extra startmoney?

PHP Code:

if(Level[id] >= 25
    
set_user_footsteps(id1);
    
cs_set_user_money(id1000); 

I have tried this, but the player can't get any more than 1000$ now.

Thank you

GuskiS 01-18-2014 17:25

Re: Giving specific players extra startmoney.
 
cs_set_user_money(id, cs_get_user_money(id)+1000);

Going Dutch 01-18-2014 17:27

Re: Giving specific players extra startmoney.
 
Perfect, Thank you!


All times are GMT -4. The time now is 16:50.

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