- Initiateur de la discussion
G
gerardmenfain
Nouveau né
- Messages
- 16
- Score réaction
- 1
- Points
- 15
bonjour comment mettre juste une touche F2
local lsit = 0
hook.Add( "Think", "keypress_use_3rdtoggle", function( ply, key )
if input.IsKeyDown(KEY_LCONTROL) then
if input.IsKeyDown(KEY_LSHIFT) then
if lsit + 1 < CurTime() then
RunConsoleCommand ("simple_thirdperson_enable_toggle")
lsit = CurTime()
end
end
end
end )
local lsit = 0
hook.Add( "Think", "keypress_use_3rdtoggle", function( ply, key )
if input.IsKeyDown(KEY_LCONTROL) then
if input.IsKeyDown(KEY_LSHIFT) then
if lsit + 1 < CurTime() then
RunConsoleCommand ("simple_thirdperson_enable_toggle")
lsit = CurTime()
end
end
end
end )