AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   How to Get user money and Set user money? (https://forums.alliedmods.net/showthread.php?t=209583)

wwzw 02-27-2013 06:51

How to Get user money and Set user money?
 
I want to access and modify the player's money in the CS: GO.
Who can help me? Thanks!

Franc1sco 02-27-2013 07:05

Re: How to Get user money and Set user money?
 
PHP Code:

new Cash GetEntProp(clientProp_Send"m_iAccount"); // get money
Cash -= 800;
SetEntProp(clientProp_Send"m_iAccount"Cash); // change money 


wwzw 02-27-2013 08:35

Re: How to Get user money and Set user money?
 
Thank you very much !!!


All times are GMT -4. The time now is 23:57.

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