[CS:GO] Setting money ( the only way possible )
If you're about to hit me with: "SetEntProp(client, Prop_Send, "m_iAccount", money);", I'll hit you with this video, proving it will never work unless you rek a nob, or grab a hostage, forcing your money to update.
https://youtu.be/VRGWWNEcmgo Additional Info: The plugin used to give 3000$ on VIP evacuation replicates it completely. You cannot do anything similar to that without Sourcemod. Using this snippet in CS:S uses the regular method to set money, except the stock will always return false in CS:S Useful Commands will soon have this snippet ( !money is from Useful Commands ) but right now and during testing it didn't. Code:
|
Re: [CS:GO] Setting money ( the only way possible )
PHP Code:
|
Re: [CS:GO] Setting money ( the only way possible )
Quote:
Not a chance this way is better, it stops the players from having their money saved when disconnecting. |
Re: [CS:GO] Setting money ( the only way possible )
Spawning the entity without checking if it's created is a bad idea... why didn't you check if moneyEntity actually points to an entity?
|
Re: [CS:GO] Setting money ( the only way possible )
Quote:
|
Re: [CS:GO] Setting money ( the only way possible )
Quote:
|
Re: [CS:GO] Setting money ( the only way possible )
Stock is now better.
|
Re: [CS:GO] Setting money ( the only way possible )
Quote:
PHP Code:
Quote:
|
Re: [CS:GO] Setting money ( the only way possible )
Quote:
Forgot to say, you can also find the game data for the task. I don't know anything about gamedatas and I know they occasionally require updates and this isn't L4D2, every two weeks there's an update. |
Re: [CS:GO] Setting money ( the only way possible )
PHP Code:
|
All times are GMT -4. The time now is 08:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.