No Weapon Pickup ... Not Working ..
Hi ya'll ... i have a problem .. i asked xPaw for a no weapon pickup, that applies just for TERRORISTS ! that means just T cant pick up weapons .. the others, can ! Here is the deal ... this is not making even weapon pickup block at any team ... so please .. someone edit it and make if for T Only .. and one that is working. Thx so much.
PHP Code:
|
Re: No Weapon Pickup ... Not Working ..
PHP Code:
|
Re: No Weapon Pickup ... Not Working ..
You should cache a players team when a team is joined; this will be more efficient than constantly calling get_user_team when this ham forward is fired (which is alot).
The reason it isn't working at all is your forward function name does not match the function name used to register. RegisterHam( Ham_Touch, "weaponbox", "FwdHamPlayerWeaponTouch" ); RegisterHam( Ham_Touch, "armoury_entity", "FwdHamPlayerWeaponTouch" ); Try this: PHP Code:
|
Re: No Weapon Pickup ... Not Working ..
Ok, i suck that bad ... can someone put that together please :) ?
|
Re: No Weapon Pickup ... Not Working ..
This will work but can be done more efficiently.
PHP Code:
|
Re: No Weapon Pickup ... Not Working ..
So, this is the final thing that i got .. and i can't compile it .. errors everywhere ...
PHP Code:
Errors: /groups/amxmodx/tmp3/textKEDH34.sma(10) : warning 217: loose indentation /groups/amxmodx/tmp3/textKEDH34.sma(12) : warning 217: loose indentation /groups/amxmodx/tmp3/textKEDH34.sma(18) : error 017: undefined symbol "cs_get_user_team" |
Re: No Weapon Pickup ... Not Working ..
PHP Code:
|
| All times are GMT -4. The time now is 03:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.