Their movement is null from the beginning ^^ Mouse too. You can't move It.Looking good!
Ideas to add/Ignore
- For Fall Damage Check and No Recoil check, You should set their Movement to null.
- Also for no recoil Player.Inventory.AddItem(Item, Slot, Amount) -> Player.Inventory.AddItem("M4", 30, 23) well save reloading.
- You could probably also send an RPC message to shoot? or send a Player.SendCommand("Some command here to shoot") (Maybe SendCommand("Fire")?)
- Also setting the mouse movement to 0 could stop players faking the recoil?
- Player.SendCommand("input.mousespeed 0") Default = 5
I'm planning to add an On_Shoot event.
https://github.com/dretax/AdvancedTester/blob/master/AdvancedTester.cs#L437