[CS:S/CS:GO?] sm_<something> [Updating sm_weapons Kiske Give Weapons]
Hello. This is my first time with Pawn and I don't know any code language be gentle.
The request:
Looking for feedback on the code and changes so far. I don't know if my starting point was a good one. The code I have right now is "working" for CS:S for the features I have implemented. Limited to testing with me and the bots. Okay, I'll be straight with ya I didnt test nades and I'm sure that there is something funky with those all being in the same slot and my current slot entity present check code not differentiating between nade type. I hope I will be able to still fill in the missing data (-1s) in my entities table for CS:GO and have this plugin work for both...bit iffy on continuing CS:GO support as I'm not setup to test GO.
Here is the plan from the Github page:
# This fork adds
- all the CS:S weapons that were missing to make CS:S compatible
- entity checking if player has a weapon/item in the slot the plugin is trying to give to.
- Drops and removes that weapon/item before giving new
- Code comments for days otherwise i have no clue whats going on
- Option to drop but not remove item from game
- Plugin engine checking
- Separate weapon/item lists per game would help on partial substr input for a few entities
The code updating:
https://github.com/Ballganda/SourceM...ter/sm_give.sp