I tried to make mod for zap gun 'turrets' for ship :
you can buy it,
you activate it by terminal,
when you activate, zap gun activates from the roof and targets entities around ship (and players that are not in ship) and stuns is for 2-3s
The problem: i tried to just create zap effect in LateUpdate Patch of PatcherTool class and it works... For host...
Client doesn't have errors, even got ScanGun() triggered in console for client, some logs but no particle effects and stun effect/slow.
When host uses terminal command 'wave' to trigger that effect clients can see it, can be stunned
When client trigger it nothing happen, just logs in console like everything is good.... Idk why. Any idea?