getting grenade count in csgo
i'm trying to get the number of grenades for player in csgo
but getting weird as hell results PHP Code:
|
Re: getting grenade count in csgo
You can check out the code in my ZeusRound plugin - I store the number of each type of grenade a player has
PHP Code:
|
Re: getting grenade count in csgo
Hello i tried your code but it still returning wrong number of grenades
PHP Code:
|
Re: getting grenade count in csgo
|
Re: getting grenade count in csgo
I don't know what's up with your code, but the following works for me - I just tested it:
test code to get grenade count
output
|
Re: getting grenade count in csgo
so your bots only had Incgrenade and Decoy?
|
Re: getting grenade count in csgo
I tested with bots only. I suppose I could freeze them all and give them all a variation of things, then run the command, but I'm fairly certain I would see expected results.
What results are you seeing? |
Re: getting grenade count in csgo
Quote:
aren't you curious why they don't have other grenade types? :P and you don't need to test with bots just test it on yourself :P but i think what bacardi posted works just haven't tested it yet |
Re: getting grenade count in csgo
not 100% sure, maybe because you both where using Prop_Data instead Prop_Send
|
Re: getting grenade count in csgo
tested and always smoke,fb,he is 0. It is in inventory.
|
All times are GMT -4. The time now is 01:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.