[REQ] Help Bazooka
1 Attachment(s)
First I want to say hello, I have a very small problem with bazooka:
When i buy it and i am CT i can kill with bazooka an enemy and teammate whats wrong on the code... |
Re: [REQ] Help Bazooka
Line 1229: Add
PHP Code:
|
Re: [REQ] Help Bazooka
Quote:
Above the if: PHP Code:
PHP Code:
|
Re: [REQ] Help Bazooka
Won't the natives from amxmodx work the same way with the same results? I mean, without cs_, the original ones. When it's about a compare I prefer them, because the don't cause these errors sometimes.
|
Re: [REQ] Help Bazooka
Quote:
Read more here: https://forums.alliedmods.net/showpo...06&postcount=7 I think that some time ago, Amxmodx team try to fix it, but , if I remember good, the bug is still there. Edit: they do the same thing, but your way will cause errors in server console. Just test it. |
Re: [REQ] Help Bazooka
HamletEagle, your code does exactly the same as mine, explain what you mean please.
|
Re: [REQ] Help Bazooka
I solved it
Code:
if((0 < iVictim < 32) && is_user_alive(iVictim) && iVictim != owner )Code:
if((0 < iVictim < 32) && is_user_alive(iVictim) && iVictim != owner && get_user_team(iVictim) == 1) |
| All times are GMT -4. The time now is 21:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.