mirror of
https://github.com/SpaxscE/simfphys_base.git
synced 2025-03-04 03:13:26 -05:00
This commit is contained in:
parent
616bd5dec6
commit
48af73c6b4
@ -69,12 +69,11 @@ cvars.AddChangeCallback( "cl_simfphys_mousesteer", function( convar, oldValue, n
|
||||
isMouseSteer = new ~= 0
|
||||
if new ~= 0 then return end
|
||||
|
||||
local veh = LocalPlayer():GetVehicle()
|
||||
if not IsValid( veh ) then return end
|
||||
if not LocalPlayer():IsDrivingSimfphys() then return end
|
||||
|
||||
net.Start( "simfphys_mousesteer" )
|
||||
net.WriteEntity( veh )
|
||||
net.WriteFloat( 0 )
|
||||
net.WriteInt( 0, 9 )
|
||||
net.SendToServer()
|
||||
end )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user