The story with SWEP:PrimaryAttack / SecondaryAttack / etc

Are they shared functions or not? The wiki tells me they’re shared, yet while in singleplayer or in a listen server only the server seems to call these functions.

they’re shared or how else will prediction work?

That’s what I thought too! But the functions just aren’t called on the client while in singleplayer or on a listen server. Mainly them not being called on a listen server seems weird, since that’s supposed to work just like normal multiplayer.


Ugh, forget it, I was talking bullshit. Thought I had tested it on a listen server, but I was playing singleplayer to test a cloudscript of mine.