user_has_weapon isn't working :(
Hey all, i'm trying to make it so the user has to be holding the 12 guage shotgun in order for the code to continue. It does not continue though :(
Here is my code snippit: Code:
|
Re: user_has_weapon isn't working :(
|
Re: user_has_weapon isn't working :(
Thanks :)
|
Re: user_has_weapon isn't working :(
A bit late, but user_has_weapon does work.
You just have to leave out the bitfield, ie your code: Code:
user_has_weapon(id, CSW_M3, 1)Code:
if(user_has_weapon(id, CSW_AK47))Just my .02 cents. |
Re: user_has_weapon isn't working :(
It doesn't work in this case b/c user_has_weapon does not check wether the user is actualy holding that weapon, just that they have it in inventory.
|
| All times are GMT -4. The time now is 04:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.