Skip to content
This repository was archived by the owner on May 25, 2024. It is now read-only.

Re-added auto weapon switching and made grenades and detpack get remo…#66

Open
AdamTadeusz wants to merge 1 commit into
NeotokyoRevamp:devfrom
AdamTadeusz:grenade_restock
Open

Re-added auto weapon switching and made grenades and detpack get remo…#66
AdamTadeusz wants to merge 1 commit into
NeotokyoRevamp:devfrom
AdamTadeusz:grenade_restock

Conversation

@AdamTadeusz

Copy link
Copy Markdown

…ved on ammo exhaustion

@NotHosomi

Copy link
Copy Markdown

Why is only the server performing the removal and not the client?

@AdamTadeusz

Copy link
Copy Markdown
Author

UTIL_Remove is declared in util.h and defined in util.cpp, both of which live only on the server. Maybe theres a smarter way to do this like move or copy the function to util_shared, but I'm a novice at c++ and moreso at source and this way seems to work just fine, I'm not getting any errors in the console and the grenade dissapears as intended. If you could show me a better way of doing this I would appreciate it, documentation on the source engine is very scarce.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants