Getting get_user_weapon for all weapons on spawn
Code:
if (get_user_weapon(id, _, _) == CSW_SCOUT || get_user_weapon(id, _, _) == CSW_AWP )I figured out how to fix this but I can't get all user weapons, for some reason it works sometime and sometime it doesn't is there another way to do that except for running this on player spawn ? |
Re: Getting get_user_weapon for all weapons on spawn
What do you mean by "I can't get all user weapons"?
|
Re: Getting get_user_weapon for all weapons on spawn
I figured it out .. had to use user_has_weapon instead of get_user_weapon
Also the task for stripping was before my task for checking .. |
| All times are GMT -4. The time now is 15:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.