Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GM:KeyPress( ply, key )
- if ( key == IN_MOVELEFT ) then
- RunConsoleCommand( "+left", "1" )
- end
- end
- function GM:KeyRelease( player, key )
- if ( key == IN_MOVELEFT ) then
- RunConsoleCommand( "-left", "0" )
- end
- end
- function GM:KeyPress( ply, key )
- if ( key == IN_MOVERIGHT ) then
- RunConsoleCommand( "+right", "1" )
- end
- end
- function GM:KeyRelease( player, key )
- if ( key == IN_MOVERIGHT ) then
- RunConsoleCommand( "-right", "0" )
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement